diff options
author | David Greene <greened@obbligato.org> | 2009-05-14 23:21:40 +0000 |
---|---|---|
committer | David Greene <greened@obbligato.org> | 2009-05-14 23:21:40 +0000 |
commit | 7a57214817f87eb6cd5368a861f8ecb7f0d5d26a (patch) | |
tree | ba53c4902cccaa2415dd35e2fd25569d75566a98 | |
parent | 5f9f9ba00b85eb19da2618f393e43a6a11b5d892 (diff) |
Fix tests to not upset DejaGNU.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71811 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/TableGen/TargetInstrSpec.td | 4 | ||||
-rw-r--r-- | test/TableGen/foreach.td | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/test/TableGen/TargetInstrSpec.td b/test/TableGen/TargetInstrSpec.td index 852551d1fe..7c3dd579ae 100644 --- a/test/TableGen/TargetInstrSpec.td +++ b/test/TableGen/TargetInstrSpec.td @@ -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; diff --git a/test/TableGen/foreach.td b/test/TableGen/foreach.td index 589520a6f0..acce4493b5 100644 --- a/test/TableGen/foreach.td +++ b/test/TableGen/foreach.td @@ -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 { |