[llvm] r221342 - Fix bashism in tests added by r221341
Oliver Stannard
oliver.stannard at arm.com
Wed Nov 5 04:40:22 PST 2014
Author: olista01
Date: Wed Nov 5 06:40:21 2014
New Revision: 221342
URL: http://llvm.org/viewvc/llvm-project?rev=221342&view=rev
Log:
Fix bashism in tests added by r221341
Modified:
llvm/trunk/test/MC/ARM/d16.s
llvm/trunk/test/MC/Disassembler/ARM/d16.txt
Modified: llvm/trunk/test/MC/ARM/d16.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ARM/d16.s?rev=221342&r1=221341&r2=221342&view=diff
==============================================================================
--- llvm/trunk/test/MC/ARM/d16.s (original)
+++ llvm/trunk/test/MC/ARM/d16.s Wed Nov 5 06:40:21 2014
@@ -1,5 +1,5 @@
-@ RUN: llvm-mc < %s -triple thumbv7-unknown-unknown -show-encoding -mattr=+vfp4,-d16 |& FileCheck %s --check-prefix=D32
-@ RUN: not llvm-mc < %s -triple thumbv7-unknown-unknown -show-encoding -mattr=+vfp4,+d16 |& FileCheck %s --check-prefix=D16
+@ RUN: llvm-mc < %s -triple thumbv7-unknown-unknown -show-encoding -mattr=+vfp4,-d16 2>&1 | FileCheck %s --check-prefix=D32
+@ RUN: not llvm-mc < %s -triple thumbv7-unknown-unknown -show-encoding -mattr=+vfp4,+d16 2>&1 | FileCheck %s --check-prefix=D16
@ D32-NOT: error:
Modified: llvm/trunk/test/MC/Disassembler/ARM/d16.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/Disassembler/ARM/d16.txt?rev=221342&r1=221341&r2=221342&view=diff
==============================================================================
--- llvm/trunk/test/MC/Disassembler/ARM/d16.txt (original)
+++ llvm/trunk/test/MC/Disassembler/ARM/d16.txt Wed Nov 5 06:40:21 2014
@@ -1,5 +1,5 @@
-# RUN: llvm-mc < %s -triple thumbv7-unknown-unknown -disassemble -mattr=+vfp4,-d16 |& FileCheck %s --check-prefix=D32
-# RUN: llvm-mc < %s -triple thumbv7-unknown-unknown -disassemble -mattr=+vfp4,-d16 |& FileCheck %s --check-prefix=D32
+# RUN: llvm-mc < %s -triple thumbv7-unknown-unknown -disassemble -mattr=+vfp4,-d16 2>&1 | FileCheck %s --check-prefix=D32
+# RUN: llvm-mc < %s -triple thumbv7-unknown-unknown -disassemble -mattr=+vfp4,-d16 2>&1 | FileCheck %s --check-prefix=D32
# D32: vadd.f64 d1, d2, d16
More information about the llvm-commits
mailing list