diff options
author | Vitaly Buka <vitalybuka@google.com> | 2019-10-08 17:06:27 +0000 |
---|---|---|
committer | Vitaly Buka <vitalybuka@google.com> | 2019-10-08 17:06:27 +0000 |
commit | d8245e7a36d50310c85cbefe6b79f27f745e7cee (patch) | |
tree | 15fcae57503e9f86227e65c8c0dea6d5e1fb23b0 | |
parent | 3a8d80944b7766449e2c8784a8fb30d19a2ba16c (diff) | |
download | bcm5719-llvm-d8245e7a36d50310c85cbefe6b79f27f745e7cee.tar.gz bcm5719-llvm-d8245e7a36d50310c85cbefe6b79f27f745e7cee.zip |
[sanitizer] Disable crypt*.cpp tests on Android
llvm-svn: 374088
-rw-r--r-- | compiler-rt/test/sanitizer_common/TestCases/Linux/crypt_r.cpp | 9 | ||||
-rw-r--r-- | compiler-rt/test/sanitizer_common/TestCases/Posix/crypt.cpp | 3 |
2 files changed, 7 insertions, 5 deletions
diff --git a/compiler-rt/test/sanitizer_common/TestCases/Linux/crypt_r.cpp b/compiler-rt/test/sanitizer_common/TestCases/Linux/crypt_r.cpp index b90b13b45cd..69bfb46aa5f 100644 --- a/compiler-rt/test/sanitizer_common/TestCases/Linux/crypt_r.cpp +++ b/compiler-rt/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 <assert.h> #include <unistd.h> #include <cstring> #include <crypt.h> -#include <sanitizer/msan_interface.h> - -int -main (int argc, char** argv) -{ +int main(int argc, char **argv) { { crypt_data cd; cd.initialized = 0; diff --git a/compiler-rt/test/sanitizer_common/TestCases/Posix/crypt.cpp b/compiler-rt/test/sanitizer_common/TestCases/Posix/crypt.cpp index 7b36741b6ba..ff86aced520 100644 --- a/compiler-rt/test/sanitizer_common/TestCases/Posix/crypt.cpp +++ b/compiler-rt/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 <assert.h> #include <unistd.h> #include <cstring> |