From 18a82d85d8dd69a51ceefa77dd2bf05d83bc4b39 Mon Sep 17 00:00:00 2001 From: Eli Bendersky Date: Fri, 10 Dec 2021 06:49:08 -0800 Subject: [PATCH] Run readelf tests in parallel by default --- test/all_tests.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/all_tests.py b/test/all_tests.py index 4cb8e3c..289a0fd 100755 --- a/test/all_tests.py +++ b/test/all_tests.py @@ -11,8 +11,8 @@ from __future__ import print_function import subprocess, sys from utils import is_in_rootdir -def run_test_script(path): - cmd = [sys.executable, path] +def run_test_script(path, *args): + cmd = [sys.executable, path] + list(args) print("Running '%s'" % ' '.join(cmd)) subprocess.check_call(cmd) @@ -22,7 +22,7 @@ def main(): return 1 run_test_script('test/run_all_unittests.py') run_test_script('test/run_examples_test.py') - run_test_script('test/run_readelf_tests.py') + run_test_script('test/run_readelf_tests.py', '--parallel') if __name__ == '__main__': sys.exit(main()) -- 2.30.2