summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/sanitize-init-order.cpp
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2016-10-20 23:11:45 +0000
committerReid Kleckner <rnk@google.com>2016-10-20 23:11:45 +0000
commit2e1538f282802873e5b5b3a4406055802545bf98 (patch)
tree8f2ced7c92c20eab8c55e02d92894a10a7e4b02b /clang/test/CodeGen/sanitize-init-order.cpp
parentffd9175f743b47d43d61d9f853d24949d089b5ac (diff)
downloadbcm5719-llvm-2e1538f282802873e5b5b3a4406055802545bf98.tar.gz
bcm5719-llvm-2e1538f282802873e5b5b3a4406055802545bf98.zip
Remove 24 instances of 'REQUIRES: shell'
Tests fall into one of the following categories: - The requirement was unnecessary - Additional quoting was required for backslashes in paths (see "sed -e 's/\\/\\\\/g'") in the sanitizer tests. - OpenMP used 'REQUIRES: shell' as a proxy for the test failing on Windows. Those tests fail there reliably, so use XFAIL instead. I tried not to remove shell requirements that were added to suppress flaky test failures, but if I screwed up, we can add it back as needed. llvm-svn: 284793
Diffstat (limited to 'clang/test/CodeGen/sanitize-init-order.cpp')
-rw-r--r--clang/test/CodeGen/sanitize-init-order.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/test/CodeGen/sanitize-init-order.cpp b/clang/test/CodeGen/sanitize-init-order.cpp
index ee53f7b0771..894f75e9673 100644
--- a/clang/test/CodeGen/sanitize-init-order.cpp
+++ b/clang/test/CodeGen/sanitize-init-order.cpp
@@ -1,12 +1,11 @@
// RUN: %clang_cc1 -fsanitize=address -emit-llvm -o - %s | FileCheck %s
// Test blacklist functionality.
-// RUN: echo "src:%s=init" > %t-file.blacklist
+// RUN: echo "src:%s=init" | sed -e 's/\\/\\\\/g' > %t-file.blacklist
// RUN: echo "type:PODWithCtorAndDtor=init" > %t-type.blacklist
// RUN: echo "type:NS::PODWithCtor=init" >> %t-type.blacklist
// RUN: %clang_cc1 -fsanitize=address -fsanitize-blacklist=%t-file.blacklist -emit-llvm -o - %s | FileCheck %s --check-prefix=BLACKLIST
// RUN: %clang_cc1 -fsanitize=address -fsanitize-blacklist=%t-type.blacklist -emit-llvm -o - %s | FileCheck %s --check-prefix=BLACKLIST
-// REQUIRES: shell
struct PODStruct {
int x;
OpenPOWER on IntegriCloud