[compiler-rt] f9dd016 - [sanitizer] Disabled 2 tests on Android

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Sat Oct 31 03:57:02 PDT 2020


Author: Vitaly Buka
Date: 2020-10-31T03:56:52-07:00
New Revision: f9dd0166f1e28632a147223642ba6eead49ba955

URL: https://github.com/llvm/llvm-project/commit/f9dd0166f1e28632a147223642ba6eead49ba955
DIFF: https://github.com/llvm/llvm-project/commit/f9dd0166f1e28632a147223642ba6eead49ba955.diff

LOG: [sanitizer] Disabled 2 tests on Android

They block bot upgrade to NDK 21.

Added: 
    

Modified: 
    compiler-rt/test/asan/TestCases/throw_invoke_test.cpp
    compiler-rt/test/sanitizer_common/TestCases/Linux/mallopt.cpp

Removed: 
    


################################################################################
diff  --git a/compiler-rt/test/asan/TestCases/throw_invoke_test.cpp b/compiler-rt/test/asan/TestCases/throw_invoke_test.cpp
index bbfa1c7b95ca..3f832e9b5ffe 100644
--- a/compiler-rt/test/asan/TestCases/throw_invoke_test.cpp
+++ b/compiler-rt/test/asan/TestCases/throw_invoke_test.cpp
@@ -1,6 +1,9 @@
 // RUN: %clangxx_asan %s -o %t && %run %t
 // RUN: %clangxx_asan %s -o %t %linux_static_libstdcplusplus && %run %t
 
+// Investigate why it fails with NDK 21.
+// UNSUPPORTED: android
+
 #include <stdio.h>
 static volatile int zero = 0;
 inline void pretend_to_do_something(void *x) {

diff  --git a/compiler-rt/test/sanitizer_common/TestCases/Linux/mallopt.cpp b/compiler-rt/test/sanitizer_common/TestCases/Linux/mallopt.cpp
index 9ac3c5dc5978..37d1ebb11a4c 100644
--- a/compiler-rt/test/sanitizer_common/TestCases/Linux/mallopt.cpp
+++ b/compiler-rt/test/sanitizer_common/TestCases/Linux/mallopt.cpp
@@ -1,5 +1,9 @@
 // Check that mallopt does not return invalid values (ex. -1).
 // RUN: %clangxx -O2 %s -o %t && %run %t
+
+// Investigate why it fails with NDK 21.
+// UNSUPPORTED: android
+
 #include <assert.h>
 #include <malloc.h>
 


        


More information about the llvm-commits mailing list