diff options
author | Tom Rini <trini@konsulko.com> | 2017-11-23 22:48:35 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-11-23 22:48:35 -0500 |
commit | bb7ab1ccfec9aa4e2df3e8eb49ca85f6c0c65560 (patch) | |
tree | 7cf3d11a538ce834689ed3749db66b2f99543443 /tools/buildman/buildman.py | |
parent | d9d76023ea0d567b0630e85d1bef67b5b1a788d3 (diff) | |
parent | 9677faa34ee81c7abb4c08b0dc4ce4aace5473fc (diff) | |
download | u-boot-bb7ab1ccfec9aa4e2df3e8eb49ca85f6c0c65560.tar.gz |
Merge git://git.denx.de/u-boot-dm
Diffstat (limited to 'tools/buildman/buildman.py')
-rwxr-xr-x | tools/buildman/buildman.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/buildman/buildman.py b/tools/buildman/buildman.py index 607429df7b..11a4f162c5 100755 --- a/tools/buildman/buildman.py +++ b/tools/buildman/buildman.py @@ -30,7 +30,7 @@ import patchstream import terminal import toolchain -def RunTests(): +def RunTests(skip_net_tests): import func_test import test import doctest @@ -41,6 +41,8 @@ def RunTests(): suite.run(result) sys.argv = [sys.argv[0]] + if skip_net_tests: + test.use_network = False for module in (test.TestBuild, func_test.TestFunctional): suite = unittest.TestLoader().loadTestsFromTestCase(module) suite.run(result) @@ -56,7 +58,7 @@ options, args = cmdline.ParseArgs() # Run our meagre tests if options.test: - RunTests() + RunTests(options.skip_net_tests) # Build selected commits for selected boards else: |