Skip to content

Commit d075bd0

Browse files
[SYCL] Fix check-all after #10635 (#10744)
Single triple targets are only meant for manual run and should not be included into check-all, only check-sycl-combined-triples should be. Otherwise we are running the same tests from multiple processes resulting in race conditions (beside unnecessary work).
1 parent bd81fc4 commit d075bd0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

sycl/test/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ add_lit_testsuite(check-sycl-spirv "Running device-agnostic SYCL regression test
8383
PARAMS "SYCL_TRIPLE=spir64-unknown-unknown"
8484
DEPENDS ${SYCL_TEST_DEPS}
8585
${SYCL_TEST_EXCLUDE}
86+
EXCLUDE_FROM_CHECK_ALL
8687
)
8788

8889
add_lit_testsuite(check-sycl-dumps "Running ABI dump tests only"
@@ -100,6 +101,7 @@ if(SYCL_BUILD_PI_CUDA)
100101
PARAMS "SYCL_TRIPLE=nvptx64-nvidia-cuda"
101102
DEPENDS ${SYCL_TEST_DEPS}
102103
${SYCL_TEST_EXCLUDE}
104+
EXCLUDE_FROM_CHECK_ALL
103105
)
104106

105107
add_custom_target(check-sycl-cuda)
@@ -115,6 +117,7 @@ if(SYCL_BUILD_PI_HIP)
115117
PARAMS "SYCL_TRIPLE=nvptx64-nvidia-cuda"
116118
DEPENDS ${SYCL_TEST_DEPS}
117119
${SYCL_TEST_EXCLUDE}
120+
EXCLUDE_FROM_CHECK_ALL
118121
)
119122

120123
add_dependencies(check-sycl-hip check-sycl-hip-ptx)
@@ -125,6 +128,7 @@ if(SYCL_BUILD_PI_HIP)
125128
PARAMS "SYCL_TRIPLE=amdgcn-amd-amdhsa"
126129
DEPENDS ${SYCL_TEST_DEPS}
127130
${SYCL_TEST_EXCLUDE}
131+
EXCLUDE_FROM_CHECK_ALL
128132
)
129133

130134
add_dependencies(check-sycl-hip check-sycl-hip-gcn)

0 commit comments

Comments
 (0)