commit | 6b1ce8376c9177e9e67668d81a46580efab5130e | [log] [tgz] |
---|---|---|
author | Vitaly Buka <vitalybuka@google.com> | Tue Oct 08 17:06:27 2019 +0000 |
committer | Vitaly Buka <vitalybuka@google.com> | Tue Oct 08 17:06:27 2019 +0000 |
tree | a9b952f25872dcdc6f629ed534599dcca661a750 | |
parent | 757fcb8a374bbe7c19c3f75ec33053f6c4013918 [diff] |
[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
diff --git a/test/sanitizer_common/TestCases/Linux/crypt_r.cpp b/test/sanitizer_common/TestCases/Linux/crypt_r.cpp index b90b13b..69bfb46 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 <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/test/sanitizer_common/TestCases/Posix/crypt.cpp b/test/sanitizer_common/TestCases/Posix/crypt.cpp index 7b36741..ff86ace 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 <assert.h> #include <unistd.h> #include <cstring>