We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 324b733 commit e776922Copy full SHA for e776922
microsoft/testsuites/kselftest/kselftest.py
@@ -220,12 +220,10 @@ def run_all(
220
221
# Initialize run_tests and skip_tests from kwargs if provided
222
run_tests = kwargs.get("run_tests", [])
223
- skip_tests = kwargs.get("skip_tests", [])
224
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}"
+ if run_tests:
+ run_tests_str = " ".join(f"-n {test}" for test in run_tests)
+ command = f" {run_tests_str} 2>&1 | tee {result_file}"
229
else:
230
command = f" 2>&1 | tee {result_file}"
231
0 commit comments