The lit test-suite containing the unit tests needs to be explicitly specified
as an argument to lit.py since it is no longer discovered when the other tests
are run (because they are one directory deeper).
dfsan, lsan, and sanitizer_common don't show the same problem.
llvm-svn: 260669
endif()
add_lit_testsuite(check-msan "Running the MemorySanitizer tests"
- ${MSAN_TESTSUITES}
+ ${MSAN_TESTSUITES} ${CMAKE_CURRENT_BINARY_DIR}/Unit
DEPENDS ${MSAN_TEST_DEPS}
)
set_target_properties(check-msan PROPERTIES FOLDER "MSan tests")
endif()
add_lit_testsuite(check-tsan "Running ThreadSanitizer tests"
- ${TSAN_TESTSUITES}
+ ${TSAN_TESTSUITES} ${CMAKE_CURRENT_BINARY_DIR}/Unit
DEPENDS ${TSAN_TEST_DEPS})
set_target_properties(check-tsan PROPERTIES FOLDER "TSan tests")