Skip to content

Commit e776922

Browse files
committed
running specific namespaces
1 parent 324b733 commit e776922

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

microsoft/testsuites/kselftest/kselftest.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -220,12 +220,10 @@ def run_all(
220220

221221
# Initialize run_tests and skip_tests from kwargs if provided
222222
run_tests = kwargs.get("run_tests", [])
223-
skip_tests = kwargs.get("skip_tests", [])
224223

225-
if run_tests or skip_tests:
226-
run_tests_str = " ".join(run_tests)
227-
skip_tests_str = " ".join(skip_tests)
228-
command = f" TARGETS='{run_tests_str}' SKIP_TARGETS='{skip_tests_str}' 2>&1 | tee {result_file}"
224+
if run_tests:
225+
run_tests_str = " ".join(f"-n {test}" for test in run_tests)
226+
command = f" {run_tests_str} 2>&1 | tee {result_file}"
229227
else:
230228
command = f" 2>&1 | tee {result_file}"
231229

0 commit comments

Comments
 (0)