[compiler-rt] r312157 - [fuzzer] Don't enable tests when the fuzzer isn't built
Vedant Kumar via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 30 12:29:11 PDT 2017
Author: vedantk
Date: Wed Aug 30 12:29:11 2017
New Revision: 312157
URL: http://llvm.org/viewvc/llvm-project?rev=312157&view=rev
Log:
[fuzzer] Don't enable tests when the fuzzer isn't built
Should fix:
http://green.lab.llvm.org/green/job/clang-stage2-coverage-R_build/1527
Modified:
compiler-rt/trunk/test/CMakeLists.txt
Modified: compiler-rt/trunk/test/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/CMakeLists.txt?rev=312157&r1=312156&r2=312157&view=diff
==============================================================================
--- compiler-rt/trunk/test/CMakeLists.txt (original)
+++ compiler-rt/trunk/test/CMakeLists.txt Wed Aug 30 12:29:11 2017
@@ -58,7 +58,10 @@ if(COMPILER_RT_CAN_EXECUTE_TESTS)
# CFI tests require diagnostic mode, which is implemented in UBSan.
compiler_rt_test_runtime(ubsan cfi)
compiler_rt_test_runtime(sanitizer_common)
- compiler_rt_test_runtime(fuzzer)
+
+ if(COMPILER_RT_BUILD_LIBFUZZER)
+ compiler_rt_test_runtime(fuzzer)
+ endif()
foreach(sanitizer ${COMPILER_RT_SANITIZERS_TO_BUILD})
# cfi testing is gated on ubsan
More information about the llvm-commits
mailing list