diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2020-06-11 10:35:28 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2020-06-11 10:37:10 +0530 |
commit | c95ccc792dfbd231c03419573e9266d964f24a34 (patch) | |
tree | adf451cf24159cb0b4e9e32762611fc1515dcc71 | |
parent | d611b6e2b6b7217a2faaa835c22159a87bbf295b (diff) | |
download | meson-nirbheek/bitcode-headerpad.tar.gz |
unit tests: Pass args to pytestnirbheek/bitcode-headerpad
Gets --help working and --failfast too.
-rwxr-xr-x | run_unittests.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/run_unittests.py b/run_unittests.py index 9572b2711..669853e84 100755 --- a/run_unittests.py +++ b/run_unittests.py @@ -8150,6 +8150,9 @@ def convert_args(argv): test_list = [] for arg in argv: if arg.startswith('-'): + if arg in ('-f', '--failfast'): + arg = '--exitfirst' + pytest_args.append(arg) continue # ClassName.test_name => 'ClassName and test_name' if '.' in arg: |