From 56148b2ea1790caf89637054c3c0d5ea78e27ecd Mon Sep 17 00:00:00 2001 From: Keith Wyss Date: Thu, 7 Sep 2017 19:10:34 +0000 Subject: [PATCH] [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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@312739 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/tools/llvm-xray/X86/stack-empty-case.yaml | 5 +++++ test/tools/llvm-xray/X86/stack-keep-going.yaml | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/test/tools/llvm-xray/X86/stack-empty-case.yaml b/test/tools/llvm-xray/X86/stack-empty-case.yaml index 732caf3381f..6021dbd711e 100644 --- a/test/tools/llvm-xray/X86/stack-empty-case.yaml +++ b/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/test/tools/llvm-xray/X86/stack-keep-going.yaml b/test/tools/llvm-xray/X86/stack-keep-going.yaml index 96da7346ae0..81ff7dc76eb 100644 --- a/test/tools/llvm-xray/X86/stack-keep-going.yaml +++ b/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 -- 2.40.0