Fix tests to not upset DejaGNU.
authorDavid Greene <greened@obbligato.org>
Thu, 14 May 2009 23:21:40 +0000 (23:21 +0000)
committerDavid Greene <greened@obbligato.org>
Thu, 14 May 2009 23:21:40 +0000 (23:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71811 91177308-0d34-0410-b5e6-96231b3b80d8

test/TableGen/TargetInstrSpec.td
test/TableGen/foreach.td

index 852551d1fee69124f462d14dbd0a7ceaa3be4060..7c3dd579aec99650d371db5be8b9433789ce1157 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: tblgen %s | grep {[(set VR128:$dst, (int_x86_sse2_add_pd VR128:$src1, VR128:$src2))]} | count 1
-// RUN: tblgen %s | grep {[(set VR128:$dst, (int_x86_sse2_add_ps VR128:$src1, VR128:$src2))]} | count 2
+// RUN: tblgen %s | grep {\\\[(set VR128:\$dst, (int_x86_sse2_add_pd VR128:\$src1, VR128:\$src2))\\\]} | count 1
+// RUN: tblgen %s | grep {\\\[(set VR128:\$dst, (int_x86_sse2_add_ps VR128:\$src1, VR128:\$src2))\\\]} | count 1
 
 class ValueType<int size, int value> {
   int Size = size;
index 589520a6f020c361f006bf2286994240f1120dae..acce4493b518e58f97a37b7bbf2ab79a0b29dbbe 100644 (file)
@@ -1,6 +1,6 @@
 // RUN: tblgen %s | grep {Jr} | count 2
 // RUN: tblgen %s | grep {Sr} | count 2
-// RUN: tblgen %s | not grep {NAME}
+// RUN: tblgen %s | grep {NAME} | count 1
 
 // Variables for foreach
 class decls {