Skip to content

Commit a56c1f4

Browse files
Alexander Batashevbader
authored andcommitted
[SYCL] Update LIT config (#828)
Fix some LIT tests after llvm/llvm-project@0d4e651 Signed-off-by: Alexander Batashev <[email protected]>
1 parent 6e5d6ac commit a56c1f4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

sycl/test/lit.cfg.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ def getDeviceCount(device_type):
9494
return 0
9595

9696

97-
cpu_run_substitute = "echo"
98-
cpu_run_on_linux_substitute = "echo "
97+
cpu_run_substitute = "true"
98+
cpu_run_on_linux_substitute = "true "
9999
cpu_check_substitute = ""
100100
cpu_check_on_linux_substitute = ""
101101
if getDeviceCount("cpu"):
@@ -111,8 +111,8 @@ def getDeviceCount(device_type):
111111
config.substitutions.append( ('%CPU_CHECK_PLACEHOLDER', cpu_check_substitute) )
112112
config.substitutions.append( ('%CPU_CHECK_ON_LINUX_PLACEHOLDER', cpu_check_on_linux_substitute) )
113113

114-
gpu_run_substitute = "echo"
115-
gpu_run_on_linux_substitute = "echo "
114+
gpu_run_substitute = "true"
115+
gpu_run_on_linux_substitute = "true "
116116
gpu_check_substitute = ""
117117
gpu_check_on_linux_substitute = ""
118118
if getDeviceCount("gpu"):
@@ -128,7 +128,7 @@ def getDeviceCount(device_type):
128128
config.substitutions.append( ('%GPU_CHECK_PLACEHOLDER', gpu_check_substitute) )
129129
config.substitutions.append( ('%GPU_CHECK_ON_LINUX_PLACEHOLDER', gpu_check_on_linux_substitute) )
130130

131-
acc_run_substitute = "echo"
131+
acc_run_substitute = "true"
132132
acc_check_substitute = ""
133133
if getDeviceCount("accelerator"):
134134
print("Found available accelerator device")

0 commit comments

Comments
 (0)