diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2007-04-16 15:31:49 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2007-04-16 15:31:49 +0000 |
commit | 43b40035baca3c0a66d3af538f8d5347fb4ceea6 (patch) | |
tree | 1657abce2d09c3606f31708c09a401b0a2e8abd6 /test/Assembler | |
parent | 4cda190ef512853b290db8b4054367fa2e3e094c (diff) | |
download | external_llvm-43b40035baca3c0a66d3af538f8d5347fb4ceea6.zip external_llvm-43b40035baca3c0a66d3af538f8d5347fb4ceea6.tar.gz external_llvm-43b40035baca3c0a66d3af538f8d5347fb4ceea6.tar.bz2 |
For PR1319:
Fix syntax of tests to ensure grep pattern is properly quoted.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36134 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Assembler')
-rw-r--r-- | test/Assembler/2002-07-25-ParserAssertionFailure.llx | 2 | ||||
-rw-r--r-- | test/Assembler/2003-04-15-ConstantInitAssertion.llx | 2 | ||||
-rw-r--r-- | test/Assembler/2003-12-30-TypeMapInvalidMemory.llx | 2 | ||||
-rw-r--r-- | test/Assembler/ConstantExprFold.llx | 3 |
4 files changed, 4 insertions, 5 deletions
diff --git a/test/Assembler/2002-07-25-ParserAssertionFailure.llx b/test/Assembler/2002-07-25-ParserAssertionFailure.llx index 2145383..ccfc380 100644 --- a/test/Assembler/2002-07-25-ParserAssertionFailure.llx +++ b/test/Assembler/2002-07-25-ParserAssertionFailure.llx @@ -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) diff --git a/test/Assembler/2003-04-15-ConstantInitAssertion.llx b/test/Assembler/2003-04-15-ConstantInitAssertion.llx index b2c6f8a..58b8bca 100644 --- a/test/Assembler/2003-04-15-ConstantInitAssertion.llx +++ b/test/Assembler/2003-04-15-ConstantInitAssertion.llx @@ -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 } diff --git a/test/Assembler/2003-12-30-TypeMapInvalidMemory.llx b/test/Assembler/2003-12-30-TypeMapInvalidMemory.llx index 2cf1e56..cffee6d 100644 --- a/test/Assembler/2003-12-30-TypeMapInvalidMemory.llx +++ b/test/Assembler/2003-12-30-TypeMapInvalidMemory.llx @@ -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 { diff --git a/test/Assembler/ConstantExprFold.llx b/test/Assembler/ConstantExprFold.llx index c9c3dff..b4d779d 100644 --- a/test/Assembler/ConstantExprFold.llx +++ b/test/Assembler/ConstantExprFold.llx @@ -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 |