Skip to content

Commit 7f38c67

Browse files
[SYCL][LIT E2E] Handle RUN_LAUNCHER in BE_RUN_PLACEHOLDER (#9184)
1 parent 8d75f1c commit 7f38c67

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

sycl/test-e2e/lit.cfg.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,10 @@
246246
config.substitutions.append( ('%sycl_be', config.sycl_be) )
247247
# Use short names for LIT rules
248248
config.available_features.add(config.sycl_be.replace('ext_intel_', '').replace('ext_oneapi_', ''))
249-
config.substitutions.append( ('%BE_RUN_PLACEHOLDER', "env ONEAPI_DEVICE_SELECTOR='{SYCL_PLUGIN}:* '".format(SYCL_PLUGIN=config.sycl_be)) )
249+
be_run_substitute = "env ONEAPI_DEVICE_SELECTOR='{SYCL_PLUGIN}:* '".format(SYCL_PLUGIN=config.sycl_be)
250+
if config.run_launcher:
251+
be_run_substitute += " {}".format(config.run_launcher)
252+
config.substitutions.append( ('%BE_RUN_PLACEHOLDER', be_run_substitute) )
250253

251254
if config.dump_ir_supported:
252255
config.available_features.add('dump_ir')

0 commit comments

Comments
 (0)