buildman: Allow skipping of tests which use the network
[oweals/u-boot.git] / tools / buildman / cmdline.py
index 0060e0317c754aa6c8ae5665c8382e59490af15c..74247f0aff128320f0de30a3f3a4f30dcf2da18c 100644 (file)
@@ -82,6 +82,8 @@ def ParseArgs():
           default=False, help='Show a build summary')
     parser.add_option('-S', '--show-sizes', action='store_true',
           default=False, help='Show image size variation in summary')
+    parser.add_option('--skip-net-tests', action='store_true', default=False,
+                      help='Skip tests which need the network')
     parser.add_option('--step', type='int',
           default=1, help='Only build every n commits (0=just first and last)')
     parser.add_option('-t', '--test', action='store_true', dest='test',