Skip to content
Snippets Groups Projects
Commit dd37afc6 authored by zphrs's avatar zphrs
Browse files

allowed regex filtering of tests

parent 03e6e91c
No related branches found
No related tags found
No related merge requests found
......@@ -2,6 +2,7 @@
import os
import sys
import re
import json
import subprocess
import time
......@@ -129,7 +130,7 @@ def main():
test_filter = args.filter
log(f"filtering tests by: {test_filter}")
global TEST_SET
TEST_SET = [t for t in TEST_SET if test_filter in t.name]
TEST_SET = [t for t in TEST_SET if re.compile(test_filter).match(t.name)]
if args.run_all:
global FAIL_FAST
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment