From 15019a8814b7877367ca7bcd7d173710259f7c20 Mon Sep 17 00:00:00 2001 From: Eli Bendersky Date: Thu, 20 Dec 2012 19:54:02 +0000 Subject: [PATCH] Change Lit error redirection to FileCheck to a more common syntax since it can potentially cause some bots to fail. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170726 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/MC/X86/AlignedBundling/align-mode-argument-error.s | 2 +- test/MC/X86/AlignedBundling/asm-printing-bundle-directives.s | 2 +- test/MC/X86/AlignedBundling/bundle-group-too-large-error.s | 2 +- test/MC/X86/AlignedBundling/lock-without-bundle-mode-error.s | 2 +- test/MC/X86/AlignedBundling/switch-section-locked-error.s | 2 +- test/MC/X86/AlignedBundling/unlock-without-lock-error.s | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/test/MC/X86/AlignedBundling/align-mode-argument-error.s b/test/MC/X86/AlignedBundling/align-mode-argument-error.s index f7225be8fc0..b4ce0a9d103 100644 --- a/test/MC/X86/AlignedBundling/align-mode-argument-error.s +++ b/test/MC/X86/AlignedBundling/align-mode-argument-error.s @@ -1,4 +1,4 @@ -# RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - |& FileCheck %s +# RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - 2>&1 | FileCheck %s # Missing .bundle_align_mode argument # CHECK: error: unknown token diff --git a/test/MC/X86/AlignedBundling/asm-printing-bundle-directives.s b/test/MC/X86/AlignedBundling/asm-printing-bundle-directives.s index 685fcc129a5..1892e15850b 100644 --- a/test/MC/X86/AlignedBundling/asm-printing-bundle-directives.s +++ b/test/MC/X86/AlignedBundling/asm-printing-bundle-directives.s @@ -1,4 +1,4 @@ -# RUN: llvm-mc -filetype=asm -triple x86_64-pc-linux-gnu %s -o - |& FileCheck %s +# RUN: llvm-mc -filetype=asm -triple x86_64-pc-linux-gnu %s -o - 2>&1 | FileCheck %s # Just a simple test for the assembly emitter - making sure it emits back the # bundling directives. diff --git a/test/MC/X86/AlignedBundling/bundle-group-too-large-error.s b/test/MC/X86/AlignedBundling/bundle-group-too-large-error.s index 7bc38de9846..722bf7b9227 100644 --- a/test/MC/X86/AlignedBundling/bundle-group-too-large-error.s +++ b/test/MC/X86/AlignedBundling/bundle-group-too-large-error.s @@ -1,4 +1,4 @@ -# RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - |& FileCheck %s +# RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - 2>&1 | FileCheck %s # CHECK: ERROR: Fragment can't be larger than a bundle size diff --git a/test/MC/X86/AlignedBundling/lock-without-bundle-mode-error.s b/test/MC/X86/AlignedBundling/lock-without-bundle-mode-error.s index 8d82b29ec61..d45a9b4a5df 100644 --- a/test/MC/X86/AlignedBundling/lock-without-bundle-mode-error.s +++ b/test/MC/X86/AlignedBundling/lock-without-bundle-mode-error.s @@ -1,4 +1,4 @@ -# RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - |& FileCheck %s +# RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - 2>&1 | FileCheck %s # .bundle_lock can't come without a .bundle_align_mode before it diff --git a/test/MC/X86/AlignedBundling/switch-section-locked-error.s b/test/MC/X86/AlignedBundling/switch-section-locked-error.s index 10304b53efe..af41e192125 100644 --- a/test/MC/X86/AlignedBundling/switch-section-locked-error.s +++ b/test/MC/X86/AlignedBundling/switch-section-locked-error.s @@ -1,4 +1,4 @@ -# RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - |& FileCheck %s +# RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - 2>&1 | FileCheck %s # This test invokes .bundle_lock and then switches to a different section # w/o the appropriate unlock. diff --git a/test/MC/X86/AlignedBundling/unlock-without-lock-error.s b/test/MC/X86/AlignedBundling/unlock-without-lock-error.s index 4f7a4ba4b1c..699511d4e6b 100644 --- a/test/MC/X86/AlignedBundling/unlock-without-lock-error.s +++ b/test/MC/X86/AlignedBundling/unlock-without-lock-error.s @@ -1,4 +1,4 @@ -# RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - |& FileCheck %s +# RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - 2>&1 | FileCheck %s # .bundle_unlock can't come without a .bundle_lock before it