[llvm] r296610 - [ARM] Fix bash-ism in test

Oliver Stannard via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 1 03:11:06 PST 2017


Author: olista01
Date: Wed Mar  1 05:11:06 2017
New Revision: 296610

URL: http://llvm.org/viewvc/llvm-project?rev=296610&view=rev
Log:
[ARM] Fix bash-ism in test


Modified:
    llvm/trunk/test/MC/ARM/invalid-special-reg.s

Modified: llvm/trunk/test/MC/ARM/invalid-special-reg.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ARM/invalid-special-reg.s?rev=296610&r1=296609&r2=296610&view=diff
==============================================================================
--- llvm/trunk/test/MC/ARM/invalid-special-reg.s (original)
+++ llvm/trunk/test/MC/ARM/invalid-special-reg.s Wed Mar  1 05:11:06 2017
@@ -1,5 +1,5 @@
-@ RUN: not llvm-mc -triple armv7a--none-eabi < %s |& FileCheck %s
-@ RUN: not llvm-mc -triple thumbv7a--none-eabi < %s |& FileCheck %s
+@ RUN: not llvm-mc -triple armv7a--none-eabi < %s 2>&1 | FileCheck %s
+@ RUN: not llvm-mc -triple thumbv7a--none-eabi < %s 2>&1 | FileCheck %s
 
   msr apsr_c, r0
 @ CHECK: invalid operand for instruction




More information about the llvm-commits mailing list