From 6b1ce8376c9177e9e67668d81a46580efab5130e Mon Sep 17 00:00:00 2001 From: Vitaly Buka Date: Tue, 8 Oct 2019 17:06:27 +0000 Subject: [sanitizer] Disable crypt*.cpp tests on Android git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@374088 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/sanitizer_common/TestCases/Linux/crypt_r.cpp | 9 ++++----- test/sanitizer_common/TestCases/Posix/crypt.cpp | 3 +++ 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/test/sanitizer_common/TestCases/Linux/crypt_r.cpp b/test/sanitizer_common/TestCases/Linux/crypt_r.cpp index b90b13b45..69bfb46aa 100644 --- a/test/sanitizer_common/TestCases/Linux/crypt_r.cpp +++ b/test/sanitizer_common/TestCases/Linux/crypt_r.cpp @@ -1,15 +1,14 @@ // RUN: %clangxx -O0 -g %s -lcrypt -o %t && %run %t +// crypt.h is missing from Android. +// UNSUPPORTED: android + #include #include #include #include -#include - -int -main (int argc, char** argv) -{ +int main(int argc, char **argv) { { crypt_data cd; cd.initialized = 0; diff --git a/test/sanitizer_common/TestCases/Posix/crypt.cpp b/test/sanitizer_common/TestCases/Posix/crypt.cpp index 7b36741b6..ff86aced5 100644 --- a/test/sanitizer_common/TestCases/Posix/crypt.cpp +++ b/test/sanitizer_common/TestCases/Posix/crypt.cpp @@ -1,5 +1,8 @@ // RUN: %clangxx -O0 -g %s -o %t -lcrypt && %run %t +// crypt is missing from Android. +// UNSUPPORTED: android + #include #include #include -- cgit v1.2.1