Skip to content

Commit ec33713

Browse files
committed
testrunner: Proper skip handling when skipping by property
1 parent 72ededd commit ec33713

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

test/testrunner.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -435,6 +435,8 @@ def filter_tests(all_tests, arguments):
435435
for test in tests_added:
436436
for argument in skip_properties:
437437
if test.properties_[argument] and test not in skipped_tests:
438+
test.skip_ = True
439+
test.skip_reason_ = "Test marked skip on command line"
438440
skipped_tests.append(test)
439441

440442
# Print all the skipped tests

0 commit comments

Comments
 (0)