[compiler-rt] r374088 - [sanitizer] Disable crypt*.cpp tests on Android
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 8 10:06:27 PDT 2019
Author: vitalybuka
Date: Tue Oct 8 10:06:27 2019
New Revision: 374088
URL: http://llvm.org/viewvc/llvm-project?rev=374088&view=rev
Log:
[sanitizer] Disable crypt*.cpp tests on Android
Modified:
compiler-rt/trunk/test/sanitizer_common/TestCases/Linux/crypt_r.cpp
compiler-rt/trunk/test/sanitizer_common/TestCases/Posix/crypt.cpp
Modified: compiler-rt/trunk/test/sanitizer_common/TestCases/Linux/crypt_r.cpp
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/sanitizer_common/TestCases/Linux/crypt_r.cpp?rev=374088&r1=374087&r2=374088&view=diff
==============================================================================
--- compiler-rt/trunk/test/sanitizer_common/TestCases/Linux/crypt_r.cpp (original)
+++ compiler-rt/trunk/test/sanitizer_common/TestCases/Linux/crypt_r.cpp Tue Oct 8 10:06:27 2019
@@ -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;
Modified: compiler-rt/trunk/test/sanitizer_common/TestCases/Posix/crypt.cpp
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/sanitizer_common/TestCases/Posix/crypt.cpp?rev=374088&r1=374087&r2=374088&view=diff
==============================================================================
--- compiler-rt/trunk/test/sanitizer_common/TestCases/Posix/crypt.cpp (original)
+++ compiler-rt/trunk/test/sanitizer_common/TestCases/Posix/crypt.cpp Tue Oct 8 10:06:27 2019
@@ -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>
More information about the llvm-commits
mailing list