Skip to content

Commit c3777c0

Browse files
committed
tools: fix skip detection of test runner output
Fix the Python test harness so that it no longer treats the `# skipped` part of the summary at the end of the built-in test runner output as marking the test as skipped.
1 parent d335487 commit c3777c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def get_module(name, path):
8383

8484

8585
logger = logging.getLogger('testrunner')
86-
skip_regex = re.compile(r'# SKIP\S*\s+(.*)', re.IGNORECASE)
86+
skip_regex = re.compile(r'(?:ok|not ok).*# SKIP\S*\s+(.*)', re.IGNORECASE)
8787

8888
VERBOSE = False
8989

0 commit comments

Comments
 (0)