[llvm-commits] [llvm] r71811 - in /llvm/trunk/test/TableGen: TargetInstrSpec.td foreach.td

David Greene greened at obbligato.org
Thu May 14 16:21:51 PDT 2009


Author: greened
Date: Thu May 14 18:21:40 2009
New Revision: 71811

URL: http://llvm.org/viewvc/llvm-project?rev=71811&view=rev
Log:

Fix tests to not upset DejaGNU.

Modified:
    llvm/trunk/test/TableGen/TargetInstrSpec.td
    llvm/trunk/test/TableGen/foreach.td

Modified: llvm/trunk/test/TableGen/TargetInstrSpec.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/TableGen/TargetInstrSpec.td?rev=71811&r1=71810&r2=71811&view=diff

==============================================================================
--- llvm/trunk/test/TableGen/TargetInstrSpec.td (original)
+++ llvm/trunk/test/TableGen/TargetInstrSpec.td Thu May 14 18:21:40 2009
@@ -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;

Modified: llvm/trunk/test/TableGen/foreach.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/TableGen/foreach.td?rev=71811&r1=71810&r2=71811&view=diff

==============================================================================
--- llvm/trunk/test/TableGen/foreach.td (original)
+++ llvm/trunk/test/TableGen/foreach.td Thu May 14 18:21:40 2009
@@ -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 {





More information about the llvm-commits mailing list