Skip to content

Commit f0197ab

Browse files
authored
[SYCL][Test] Temporally disable LIT tests on Windows/FPGA (#1263)
Signed-off-by: Alexey Bader <[email protected]>
1 parent bed858b commit f0197ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sycl/test/lit.cfg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ def getDeviceCount(device_type):
169169

170170
acc_run_substitute = "true"
171171
acc_check_substitute = ""
172-
if getDeviceCount("accelerator")[0]:
172+
if getDeviceCount("accelerator")[0] and platform.system() == "Linux":
173173
print("Found available accelerator device")
174174
acc_run_substitute = " env SYCL_DEVICE_TYPE=ACC "
175175
acc_check_substitute = "| FileCheck %s"

0 commit comments

Comments
 (0)