Closed
Description
Great thanks for doing this! The PI tests will be build always, but when/how are they run?
@smaslov-intel This now works as in Clang and the other LLVM projects:
- When SYCL testing is enabled with the CMake flag
SYCL_INCLUDE_TESTS
then the unittests are added as a dependency to the LIT tests (see CMake variableSYCL_TEST_DEPS
). - This in itself ensures that the unittests are build when the other LIT tests are build, e.g., by running the build for the
check-sycl
target. - The LIT tests folder now has a
Unit
sub-folder which contains LIT config files that are gtest aware and are pointed to the unittests build directory to discover all included test executables to run.
Originally posted by @bjoernknafla in #585 (comment)
Metadata
Metadata
Assignees
Labels
No labels