aboutsummaryrefslogtreecommitdiff
path: root/test/TableGen
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-04-16 15:31:49 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-04-16 15:31:49 +0000
commit43b40035baca3c0a66d3af538f8d5347fb4ceea6 (patch)
tree1657abce2d09c3606f31708c09a401b0a2e8abd6 /test/TableGen
parent4cda190ef512853b290db8b4054367fa2e3e094c (diff)
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/TableGen')
-rw-r--r--test/TableGen/DagDefSubst.ll4
-rw-r--r--test/TableGen/DagIntSubst.ll2
2 files changed, 3 insertions, 3 deletions
diff --git a/test/TableGen/DagDefSubst.ll b/test/TableGen/DagDefSubst.ll
index a9cd59b9af..e5eebe99e8 100644
--- a/test/TableGen/DagDefSubst.ll
+++ b/test/TableGen/DagDefSubst.ll
@@ -1,5 +1,5 @@
-// RUN: tblgen %s | grep 'dag d = (X Y)' &&
-// RUN: tblgen %s | grep 'dag e = (Y X)'
+// RUN: tblgen %s | grep {dag d = (X Y)}
+// RUN: tblgen %s | grep {dag e = (Y X)}
def X;
class yclass;
diff --git a/test/TableGen/DagIntSubst.ll b/test/TableGen/DagIntSubst.ll
index b9522f1f57..3c1291c3ec 100644
--- a/test/TableGen/DagIntSubst.ll
+++ b/test/TableGen/DagIntSubst.ll
@@ -1,4 +1,4 @@
-// RUN: tblgen %s | grep 'dag d = (X 13)'
+// RUN: tblgen %s | grep {dag d = (X 13)}
def X;
class C<int N> {