diff options
author | Jack Lloyd <[email protected]> | 2017-09-29 13:16:40 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2017-09-29 13:16:40 -0400 |
commit | 497fecf9d87c3c1df6e1e1db06dcf16754b08465 (patch) | |
tree | b3a9ace69289087da39619fad124efd14d5aba6d /src/scripts | |
parent | d839b27c7f7b81ab44c4044f1de66dfd9ef205c4 (diff) |
Build test script
[ci skip]
Diffstat (limited to 'src/scripts')
-rwxr-xr-x | src/scripts/build_tests.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/scripts/build_tests.py b/src/scripts/build_tests.py index 20160c587..f90d7722e 100755 --- a/src/scripts/build_tests.py +++ b/src/scripts/build_tests.py @@ -53,7 +53,7 @@ def try_to_run(cmdline): print(stderr.decode('ascii')) sys.stdout.flush() - return failed + return not failed def run_test_build(configure_py, modules, include, run_tests=False): config = [configure_py] @@ -103,13 +103,13 @@ def main(args): extra = [] if module == 'auto_rng': extra.append('dev_random') - if run_test_build(configure_py, [module] + always_include + extra, run_tests) is False: + if run_test_build(configure_py, [module] + always_include + extra, True, run_tests) is False: failed.append(module) for module in sorted(modules): if module in cant_disable or module in always_include: continue - if run_test_build(configure_py, [module], run_tests) is False: + if run_test_build(configure_py, [module], False, run_tests) is False: failed.append(module) print("Failed building with %s", ' '.join(failed)) |