summaryrefslogtreecommitdiff
path: root/tests/run-tests
diff options
context:
space:
mode:
authorDan Halbert <halbert@halwitz.org>2018-07-28 13:29:47 -0400
committerDan Halbert <halbert@halwitz.org>2018-07-28 13:29:47 -0400
commitf48b70050e3e4122eaae3eee47d35fc30bda2a4c (patch)
tree7d2dacc3c137276e9d0838b571c84c09e78acc42 /tests/run-tests
parentbc760dd34100099c352a0f185ec54ceae23d036d (diff)
merge finished
Diffstat (limited to 'tests/run-tests')
-rwxr-xr-xtests/run-tests4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/run-tests b/tests/run-tests
index 3064f6845..94e1591e8 100755
--- a/tests/run-tests
+++ b/tests/run-tests
@@ -396,7 +396,7 @@ def run_tests(pyb, tests, args, base_path=".", num_threads=1):
if pat.search(test_file):
verdict = action
if verdict == "exclude":
- continue
+ return
test_basename = os.path.basename(test_file)
test_name = os.path.splitext(test_basename)[0]
@@ -419,7 +419,7 @@ def run_tests(pyb, tests, args, base_path=".", num_threads=1):
if args.list_tests:
if not skip_it:
print(test_file)
- continue
+ return
if skip_it:
print("skip ", test_file)