File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -228,18 +228,18 @@ def get_extra_env(sycl_devices):
228228
229229 substitutions .append (("%{run-unfiltered-devices}" , run_unfiltered_substitution ))
230230
231- ignore_line_filtering = ("build-and-run-mode" in test .requires
232- and test .config .test_mode == "run-only"
233- and test .config .fallback_build_run_only
234- )
235-
236231 new_script = []
237232 for directive in script :
238233 if not isinstance (directive , lit .TestRunner .CommandDirective ):
239234 new_script .append (directive )
240235 continue
241236
242- # Filter commands based on split-mode
237+ # Filter commands based on testing mode
238+ ignore_line_filtering = (
239+ "build-and-run-mode" in test .requires
240+ and test .config .test_mode == "run-only"
241+ and test .config .fallback_build_run_only
242+ )
243243 is_run_line = ignore_line_filtering or any (
244244 i in directive .command
245245 for i in ["%{run}" , "%{run-unfiltered-devices}" , "%if run-mode" ]
You can’t perform that action at this time.
0 commit comments