[sanitizer] Disable crypt*.cpp tests on Android

llvm-svn: 374088
This commit is contained in:
Vitaly Buka 2019-10-08 17:06:27 +00:00
parent 3a8d80944b
commit d8245e7a36
2 changed files with 7 additions and 5 deletions

View File

@ -1,15 +1,14 @@
// RUN: %clangxx -O0 -g %s -lcrypt -o %t && %run %t // RUN: %clangxx -O0 -g %s -lcrypt -o %t && %run %t
// crypt.h is missing from Android.
// UNSUPPORTED: android
#include <assert.h> #include <assert.h>
#include <unistd.h> #include <unistd.h>
#include <cstring> #include <cstring>
#include <crypt.h> #include <crypt.h>
#include <sanitizer/msan_interface.h> int main(int argc, char **argv) {
int
main (int argc, char** argv)
{
{ {
crypt_data cd; crypt_data cd;
cd.initialized = 0; cd.initialized = 0;

View File

@ -1,5 +1,8 @@
// RUN: %clangxx -O0 -g %s -o %t -lcrypt && %run %t // RUN: %clangxx -O0 -g %s -o %t -lcrypt && %run %t
// crypt is missing from Android.
// UNSUPPORTED: android
#include <assert.h> #include <assert.h>
#include <unistd.h> #include <unistd.h>
#include <cstring> #include <cstring>