aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xrun_unittests.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/run_unittests.py b/run_unittests.py
index 9572b27..669853e 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: