summaryrefslogtreecommitdiff
path: root/tools/buildman/cmdline.py
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-11-12 21:52:14 -0700
committerSimon Glass <sjg@chromium.org>2017-11-22 18:05:38 -0700
commitcb39a10979383921217e979b2aa0808babb877d3 (patch)
tree28b5d2abcbd3ac93bfc82c286ede6aa30debdd01 /tools/buildman/cmdline.py
parent6c328f29752224f15b7f098d8676f9eeed269a85 (diff)
downloadu-boot-cb39a10979383921217e979b2aa0808babb877d3.tar.gz
buildman: Allow skipping of tests which use the network
Accessing the network slows down the test and limits the environment in which it can be run. Add an option to disable network tests. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/buildman/cmdline.py')
-rw-r--r--tools/buildman/cmdline.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/buildman/cmdline.py b/tools/buildman/cmdline.py
index 0060e0317c..74247f0aff 100644
--- a/tools/buildman/cmdline.py
+++ b/tools/buildman/cmdline.py
@@ -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',