[compiler-rt] 57d0e9b - [test][sanitizer] Disable netdb tests on Android

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 13 01:07:33 PDT 2022


Author: Vitaly Buka
Date: 2022-08-13T01:07:12-07:00
New Revision: 57d0e9bf9659c36390b087e56bf1bc25ce61703d

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

LOG: [test][sanitizer] Disable netdb tests on Android

Added: 
    

Modified: 
    compiler-rt/test/sanitizer_common/TestCases/Linux/netent.cpp
    compiler-rt/test/sanitizer_common/TestCases/Linux/protoent.cpp

Removed: 
    


################################################################################
diff  --git a/compiler-rt/test/sanitizer_common/TestCases/Linux/netent.cpp b/compiler-rt/test/sanitizer_common/TestCases/Linux/netent.cpp
index 5a17b561919a..296af338e5c8 100644
--- a/compiler-rt/test/sanitizer_common/TestCases/Linux/netent.cpp
+++ b/compiler-rt/test/sanitizer_common/TestCases/Linux/netent.cpp
@@ -1,6 +1,9 @@
 // RUN: %clangxx -O0 -g %s -o %t
-//
-// REQUIRES: (linux && !android) || freebsd || android-28
+
+// bionic/netdb.cpp is not implemented.
+// UNSUPPORTED: android
+
+// REQUIRES: linux || freebsd
 
 #include <inttypes.h>
 #include <netdb.h>

diff  --git a/compiler-rt/test/sanitizer_common/TestCases/Linux/protoent.cpp b/compiler-rt/test/sanitizer_common/TestCases/Linux/protoent.cpp
index 4e1e12c2e047..ff5226f771a5 100644
--- a/compiler-rt/test/sanitizer_common/TestCases/Linux/protoent.cpp
+++ b/compiler-rt/test/sanitizer_common/TestCases/Linux/protoent.cpp
@@ -1,5 +1,9 @@
 // RUN: %clangxx -O0 -g %s -o %t
 //
+
+// bionic/netdb.cpp is not implemented.
+// UNSUPPORTED: android
+
 // REQUIRES: linux || freebsd
 
 #include <netdb.h>


        


More information about the llvm-commits mailing list