[PATCH] [msan] lit tests
Alexey Samsonov
samsonov at google.com
Mon Feb 11 02:56:06 PST 2013
Please check that "check-msan" indeed runs and re-builds both output tests and unit tests (if not already)
================
Comment at: lit_tests/CMakeLists.txt:19
@@ +18,3 @@
+ if(LLVM_INCLUDE_TESTS)
+ list(APPEND MSAN_TEST_DEPS AsanUnitTests)
+ endif()
----------------
MsanUnitTests
================
Comment at: lit_tests/CMakeLists.txt:4
@@ +3,3 @@
+
+configure_lit_site_cfg(
+ ${CMAKE_CURRENT_SOURCE_DIR}/lit.site.cfg.in
----------------
You may need two configs (for output lit tests and for unit tests - see compiler-rt/lib/asan/lit_tests/Unit/
================
Comment at: lit_tests/CMakeLists.txt:10
@@ +9,3 @@
+if(COMPILER_RT_CAN_EXECUTE_TESTS)
+ # Run ASan tests only if we're sure we may produce working binaries.
+ set(MSAN_TEST_DEPS
----------------
Msan
http://llvm-reviews.chandlerc.com/D389
More information about the llvm-commits
mailing list