[asan] Mark a bunch of tests as unsupported on iOS
authorKuba Mracek <mracek@apple.com>
Tue, 2 May 2017 19:37:28 +0000 (19:37 +0000)
committerKuba Mracek <mracek@apple.com>
Tue, 2 May 2017 19:37:28 +0000 (19:37 +0000)
This patch marks a few ASan tests as unsupported on iOS. These are mostly tests that use files or paths that are invalid/inaccessible on iOS or the simulator. We currently don't have a good way of propagating/copying secondary files that individual tests need. The same problem exists on Android, so I'm just marking the tests as UNSUPPORTED now.

Differential Revision: https://reviews.llvm.org/D32632

llvm-svn: 301966

compiler-rt/test/asan/TestCases/Posix/closed-fds.cc
compiler-rt/test/asan/TestCases/Posix/coverage-maybe-open-file.cc
compiler-rt/test/asan/TestCases/Posix/coverage-sandboxing.cc
compiler-rt/test/asan/TestCases/Posix/coverage.cc
compiler-rt/test/asan/TestCases/Posix/start-deactivated.cc
compiler-rt/test/asan/TestCases/default_blacklist.cc
compiler-rt/test/asan/TestCases/suppressions-function.cc

index 75e3216..b2604bb 100644 (file)
@@ -8,6 +8,7 @@
 
 // FIXME: copy %t.log back from the device and re-enable on Android.
 // UNSUPPORTED: android
+// UNSUPPORTED: ios
 
 #include <assert.h>
 #include <stdio.h>
index 95f2b54..ee2977a 100644 (file)
@@ -1,5 +1,6 @@
 // FIXME: https://code.google.com/p/address-sanitizer/issues/detail?id=316
 // XFAIL: android
+// UNSUPPORTED: ios
 //
 // RUN: %clangxx_asan -fsanitize-coverage=func %s -o %t
 // RUN: rm -rf %T/coverage-maybe-open-file
index 431dce1..3540707 100644 (file)
@@ -21,6 +21,7 @@
 
 // https://code.google.com/p/address-sanitizer/issues/detail?id=263
 // XFAIL: android
+// UNSUPPORTED: ios
 
 #include <assert.h>
 #include <fcntl.h>
index 3d1dccf..bff0609 100644 (file)
@@ -18,6 +18,7 @@
 //
 // https://code.google.com/p/address-sanitizer/issues/detail?id=263
 // XFAIL: android
+// UNSUPPORTED: ios
 
 #include <sanitizer/coverage_interface.h>
 #include <assert.h>
index 2a2aa67..2870ffb 100644 (file)
@@ -19,6 +19,7 @@
 // RUN:   ASAN_ACTIVATION_OPTIONS=help=1,handle_segv=0,verbosity=1 not %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-UNSUPPORTED
 
 // XFAIL: arm-linux-gnueabi
+// UNSUPPORTED: ios
 
 // END.
 
index 9358cc4..84c0438 100644 (file)
@@ -1,5 +1,6 @@
 // FIXME: https://code.google.com/p/address-sanitizer/issues/detail?id=316
 // XFAIL: android
+// UNSUPPORTED: ios
 //
 // Test that ASan uses the default blacklist from resource directory.
 // RUN: %clangxx_asan -### %s 2>&1 | FileCheck %s
index d5ac9f7..c7f1ebe 100644 (file)
@@ -8,6 +8,7 @@
 
 // FIXME: Windows symbolizer needs work to make this pass.
 // XFAIL: android,win32
+// UNSUPPORTED: ios
 
 #include <stdio.h>
 #include <stdlib.h>