summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorKeith Wyss <wyssman@gmail.com>2017-09-07 19:10:34 +0000
committerKeith Wyss <wyssman@gmail.com>2017-09-07 19:10:34 +0000
commit7248a8bc33b3f2b92f979a83574f81716122401b (patch)
treeba1a075c51e1657d6c709c781a4169be107dc74d /llvm/test
parentc20759038bd193bc1c6e012ce9c0af1e1354a7ab (diff)
downloadbcm5719-llvm-7248a8bc33b3f2b92f979a83574f81716122401b.tar.gz
bcm5719-llvm-7248a8bc33b3f2b92f979a83574f81716122401b.zip
[XRay][tools] Disable windows for tests that use an unsupported shell redirect.
The tests are filechecking against stderr and use some magic to make stdout go away and pipe stderr to FileCheck. This broke bots on windows. llvm-svn: 312739
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/tools/llvm-xray/X86/stack-empty-case.yaml5
-rw-r--r--llvm/test/tools/llvm-xray/X86/stack-keep-going.yaml5
2 files changed, 10 insertions, 0 deletions
diff --git a/llvm/test/tools/llvm-xray/X86/stack-empty-case.yaml b/llvm/test/tools/llvm-xray/X86/stack-empty-case.yaml
index 732caf3381f..6021dbd711e 100644
--- a/llvm/test/tools/llvm-xray/X86/stack-empty-case.yaml
+++ b/llvm/test/tools/llvm-xray/X86/stack-empty-case.yaml
@@ -1,3 +1,8 @@
+# The redirects used in the commands to FileCheck against stderr cannot be used
+# with a windows test.
+#
+# UNSUPPORTED: windows
+
#RUN: (llvm-xray stack %s 2>&1 || echo "Checking Command Failed") | FileCheck %s
---
header:
diff --git a/llvm/test/tools/llvm-xray/X86/stack-keep-going.yaml b/llvm/test/tools/llvm-xray/X86/stack-keep-going.yaml
index 96da7346ae0..81ff7dc76eb 100644
--- a/llvm/test/tools/llvm-xray/X86/stack-keep-going.yaml
+++ b/llvm/test/tools/llvm-xray/X86/stack-keep-going.yaml
@@ -1,3 +1,8 @@
+# The redirects used in the commands to FileCheck against stderr cannot be used
+# with a windows test.
+#
+# UNSUPPORTED: windows
+
#RUN: (llvm-xray stack %s 2>&1 1>&- || echo "Check Command Failed") | FileCheck --check-prefix HALT %s
#RUN: (llvm-xray stack -k %s 2>&1 && echo "Check Command Succeeded") | FileCheck --check-prefix KEEP-GOING-SUCCEEDS %s
#RUN: llvm-xray stack -k %s | FileCheck --check-prefix KEEP-GOING %s
OpenPOWER on IntegriCloud