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)
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())