[compiler-rt] ad5f789 - [test][sanitizer] Fix REQUIRES of the test

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 10 17:00:01 PDT 2022


Author: Vitaly Buka
Date: 2022-08-10T16:59:40-07:00
New Revision: ad5f7895efb79d70672824373deba772effa047a

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

LOG: [test][sanitizer] Fix REQUIRES of the test

getnetent is availible from API 28

Added: 
    

Modified: 
    compiler-rt/test/sanitizer_common/TestCases/Linux/netent.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 0c3a464a541e..5a17b561919a 100644
--- a/compiler-rt/test/sanitizer_common/TestCases/Linux/netent.cpp
+++ b/compiler-rt/test/sanitizer_common/TestCases/Linux/netent.cpp
@@ -1,6 +1,6 @@
 // RUN: %clangxx -O0 -g %s -o %t
 //
-// REQUIRES: linux || freebsd
+// REQUIRES: (linux && !android) || freebsd || android-28
 
 #include <inttypes.h>
 #include <netdb.h>


        


More information about the llvm-commits mailing list