diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2018-10-04 21:19:39 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-04 21:19:39 +0300 |
commit | 577d6bfdb483452b2a9434ba3a1d7031094b0cbd (patch) | |
tree | 1dac74f6e858db7c896e033062a125ac2048aacd /run_project_tests.py | |
parent | 019a627f047667ea04574cebb9a174156b2a7a67 (diff) | |
parent | adae6b56de5d8dac7b2eddbb3b9924e440a28fd6 (diff) | |
download | meson-577d6bfdb483452b2a9434ba3a1d7031094b0cbd.zip meson-577d6bfdb483452b2a9434ba3a1d7031094b0cbd.tar.gz meson-577d6bfdb483452b2a9434ba3a1d7031094b0cbd.tar.bz2 |
Merge pull request #4204 from xclaesse/unify-cmd-line
Use a single ArgumentParser for all subcommands
Diffstat (limited to 'run_project_tests.py')
-rwxr-xr-x | run_project_tests.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/run_project_tests.py b/run_project_tests.py index ba7b5e0..876d135 100755 --- a/run_project_tests.py +++ b/run_project_tests.py @@ -247,12 +247,12 @@ def run_test_inprocess(testdir): os.chdir(testdir) test_log_fname = Path('meson-logs', 'testlog.txt') try: - returncode_test = mtest.run(['--no-rebuild']) + returncode_test = mtest.run_with_args(['--no-rebuild']) if test_log_fname.exists(): test_log = test_log_fname.open(errors='ignore').read() else: test_log = '' - returncode_benchmark = mtest.run(['--no-rebuild', '--benchmark', '--logbase', 'benchmarklog']) + returncode_benchmark = mtest.run_with_args(['--no-rebuild', '--benchmark', '--logbase', 'benchmarklog']) finally: sys.stdout = old_stdout sys.stderr = old_stderr |