From 4547605640d5a3ed9e236b2b737acdd99372c8a2 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Fri, 25 Oct 2019 16:12:32 +0200 Subject: [PATCH] also disable tests --- .../patches/disable-fuzzer-compiler-rt.diff | 23 ++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/debian/patches/disable-fuzzer-compiler-rt.diff b/debian/patches/disable-fuzzer-compiler-rt.diff index ce909b53..80d7cb48 100644 --- a/debian/patches/disable-fuzzer-compiler-rt.diff +++ b/debian/patches/disable-fuzzer-compiler-rt.diff @@ -1,7 +1,7 @@ -Index: llvm-toolchain-snapshot_10~+20191025092207+24ef631f433/compiler-rt/lib/CMakeLists.txt +Index: llvm-toolchain-snapshot_10~+20191019070539+bdcad0aca0a/compiler-rt/lib/CMakeLists.txt =================================================================== ---- llvm-toolchain-snapshot_10~+20191025092207+24ef631f433.orig/compiler-rt/lib/CMakeLists.txt -+++ llvm-toolchain-snapshot_10~+20191025092207+24ef631f433/compiler-rt/lib/CMakeLists.txt +--- llvm-toolchain-snapshot_10~+20191019070539+bdcad0aca0a.orig/compiler-rt/lib/CMakeLists.txt ++++ llvm-toolchain-snapshot_10~+20191019070539+bdcad0aca0a/compiler-rt/lib/CMakeLists.txt @@ -56,6 +56,6 @@ if(COMPILER_RT_BUILD_XRAY) compiler_rt_build_runtime(xray) endif() @@ -12,3 +12,20 @@ Index: llvm-toolchain-snapshot_10~+20191025092207+24ef631f433/compiler-rt/lib/CM +#if(COMPILER_RT_BUILD_LIBFUZZER) +# compiler_rt_build_runtime(fuzzer) +#endif() +Index: llvm-toolchain-snapshot_10~+20191019070539+bdcad0aca0a/compiler-rt/test/CMakeLists.txt +=================================================================== +--- llvm-toolchain-snapshot_10~+20191019070539+bdcad0aca0a.orig/compiler-rt/test/CMakeLists.txt ++++ llvm-toolchain-snapshot_10~+20191019070539+bdcad0aca0a/compiler-rt/test/CMakeLists.txt +@@ -53,9 +53,9 @@ if(COMPILER_RT_CAN_EXECUTE_TESTS) + compiler_rt_test_runtime(sanitizer_common) + + # OpenBSD not supporting asan, cannot run the tests +- if(COMPILER_RT_BUILD_LIBFUZZER AND NOT "${CMAKE_SYSTEM_NAME}" STREQUAL "OpenBSD" AND NOT ANDROID) +- compiler_rt_test_runtime(fuzzer) +- endif() ++# if(COMPILER_RT_BUILD_LIBFUZZER AND NOT "${CMAKE_SYSTEM_NAME}" STREQUAL "OpenBSD" AND NOT ANDROID) ++# compiler_rt_test_runtime(fuzzer) ++# endif() + + foreach(sanitizer ${COMPILER_RT_SANITIZERS_TO_BUILD}) + # cfi testing is gated on ubsan