Skip to content

Commit

Permalink
[XRay][tools] Disable windows for tests that use an unsupported shell…
Browse files Browse the repository at this point in the history
… 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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@312739 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
WiseMaestro committed Sep 7, 2017
1 parent 4059d37 commit 56148b2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/tools/llvm-xray/X86/stack-empty-case.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
5 changes: 5 additions & 0 deletions test/tools/llvm-xray/X86/stack-keep-going.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 56148b2

Please sign in to comment.