Skip to content

Commit afa80bf

Browse files
Fznamznonvladimirlaz
authored andcommitted
[SYCL] Allow to run deploy LIT tests from particular directory
i.e. for example building of the target like `check-sycl-deploy-device-code-split` will run tests only from `device-code-split` directory. Signed-off-by: Mariya Podchishchaeva <[email protected]>
1 parent 6f7cd95 commit afa80bf

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

sycl/test/CMakeLists.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,13 @@ add_lit_testsuites(SYCL ${CMAKE_CURRENT_SOURCE_DIR}
5454
DEPENDS ${SYCL_TEST_DEPS}
5555
)
5656

57+
add_lit_testsuites(SYCL-DEPLOY ${CMAKE_CURRENT_SOURCE_DIR}
58+
ARGS ${DEPLOY_RT_TEST_ARGS}
59+
PARAMS "SYCL_BE=PI_OPENCL"
60+
DEPENDS ${SYCL_DEPLOY_TEST_DEPS}
61+
EXCLUDE_FROM_CHECK_ALL
62+
)
63+
5764
if(SYCL_BUILD_PI_CUDA)
5865
add_lit_testsuite(check-sycl-cuda "Running the SYCL regression tests for CUDA"
5966
${CMAKE_CURRENT_BINARY_DIR}

0 commit comments

Comments
 (0)