Changes in directory llvm/test/Assembler:

2002-07-25-ParserAssertionFailure.llx updated: 1.5 -> 1.6
2003-04-15-ConstantInitAssertion.llx updated: 1.5 -> 1.6
2003-12-30-TypeMapInvalidMemory.llx updated: 1.10 -> 1.11
ConstantExprFold.llx updated: 1.6 -> 1.7
---
Log message:

For PR1319: http://llvm.org/PR1319 :
Fix syntax of tests to ensure grep pattern is properly quoted.


---
Diffs of the changes:  (+4 -5)

 2002-07-25-ParserAssertionFailure.llx |    2 +-
 2003-04-15-ConstantInitAssertion.llx  |    2 +-
 2003-12-30-TypeMapInvalidMemory.llx   |    2 +-
 ConstantExprFold.llx                  |    3 +--
 4 files changed, 4 insertions(+), 5 deletions(-)


Index: llvm/test/Assembler/2002-07-25-ParserAssertionFailure.llx
diff -u llvm/test/Assembler/2002-07-25-ParserAssertionFailure.llx:1.5 
llvm/test/Assembler/2002-07-25-ParserAssertionFailure.llx:1.6
--- llvm/test/Assembler/2002-07-25-ParserAssertionFailure.llx:1.5       Mon Apr 
16 10:00:39 2007
+++ llvm/test/Assembler/2002-07-25-ParserAssertionFailure.llx   Mon Apr 16 
10:31:48 2007
@@ -1,6 +1,6 @@
 ; Make sure we don't get an assertion failure, even though this is a parse 
 ; error
-; RUN: llvm-as < %s -o /dev/null -f |& grep 'No arguments'
+; RUN: llvm-as < %s -o /dev/null -f |& grep {No arguments}
 
 %ty = type void (i32)
 


Index: llvm/test/Assembler/2003-04-15-ConstantInitAssertion.llx
diff -u llvm/test/Assembler/2003-04-15-ConstantInitAssertion.llx:1.5 
llvm/test/Assembler/2003-04-15-ConstantInitAssertion.llx:1.6
--- llvm/test/Assembler/2003-04-15-ConstantInitAssertion.llx:1.5        Mon Apr 
16 10:00:39 2007
+++ llvm/test/Assembler/2003-04-15-ConstantInitAssertion.llx    Mon Apr 16 
10:31:48 2007
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s >/dev/null |& grep "Expected type 'i32' for element #0"
+; RUN: llvm-as < %s >/dev/null |& grep {Expected type 'i32' for element #0}
 ; Test the case of a misformed constant initializer
 ; This should cause an assembler error, not an assertion failure!
 constant { i32 } { float 1.0 }


Index: llvm/test/Assembler/2003-12-30-TypeMapInvalidMemory.llx
diff -u llvm/test/Assembler/2003-12-30-TypeMapInvalidMemory.llx:1.10 
llvm/test/Assembler/2003-12-30-TypeMapInvalidMemory.llx:1.11
--- llvm/test/Assembler/2003-12-30-TypeMapInvalidMemory.llx:1.10        Mon Apr 
16 10:00:39 2007
+++ llvm/test/Assembler/2003-12-30-TypeMapInvalidMemory.llx     Mon Apr 16 
10:31:48 2007
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s -o /dev/null -f |& grep 'Undefined type remains'
+; RUN: llvm-as < %s -o /dev/null -f |& grep {Undefined type remains}
 ; END.
 
 @d_reduction_0_dparser_gram = global { 


Index: llvm/test/Assembler/ConstantExprFold.llx
diff -u llvm/test/Assembler/ConstantExprFold.llx:1.6 
llvm/test/Assembler/ConstantExprFold.llx:1.7
--- llvm/test/Assembler/ConstantExprFold.llx:1.6        Sat Dec  2 14:34:08 2006
+++ llvm/test/Assembler/ConstantExprFold.llx    Mon Apr 16 10:31:48 2007
@@ -1,8 +1,7 @@
 ; This test checks to make sure that constant exprs fold in some simple 
 ; situations
 
-; RUN: llvm-upgrade < %s | llvm-as | llvm-dis | not grep '(' &&
-; RUN: llvm-upgrade < %s | llvm-as
+; RUN: llvm-upgrade < %s | llvm-as | llvm-dis | not grep {(}
 
 %A = global long 0
 



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to