aboutsummaryrefslogtreecommitdiffstats
path: root/test/TableGen
diff options
context:
space:
mode:
Diffstat (limited to 'test/TableGen')
-rw-r--r--test/TableGen/Include.td2
-rw-r--r--test/TableGen/LazyChange.td2
-rw-r--r--test/TableGen/MultiClass.td3
-rw-r--r--test/TableGen/dg.exp4
4 files changed, 5 insertions, 6 deletions
diff --git a/test/TableGen/Include.td b/test/TableGen/Include.td
index fe9ecb0..29ed515 100644
--- a/test/TableGen/Include.td
+++ b/test/TableGen/Include.td
@@ -1,4 +1,4 @@
-// RUN: tblgen -I `dirname %s` %s
+// RUN: tblgen -I %p %s
def BeforeInclude;
include "Include.inc"
diff --git a/test/TableGen/LazyChange.td b/test/TableGen/LazyChange.td
index c3e54de..145fd0b 100644
--- a/test/TableGen/LazyChange.td
+++ b/test/TableGen/LazyChange.td
@@ -1,4 +1,4 @@
-// RUN: tblgen %s | grep 'int Y = 3'
+// RUN: tblgen %s | grep {int Y = 3}
class C {
diff --git a/test/TableGen/MultiClass.td b/test/TableGen/MultiClass.td
index 2840e67..41019eb 100644
--- a/test/TableGen/MultiClass.td
+++ b/test/TableGen/MultiClass.td
@@ -1,5 +1,4 @@
-// RUN: tblgen %s &&
-// RUN: tblgen %s | grep 'zing = 4' | wc -l | grep 2
+// RUN: tblgen %s | grep {zing = 4} | wc -l | grep 2
class C1<int A, string B> {
int bar = A;
diff --git a/test/TableGen/dg.exp b/test/TableGen/dg.exp
index 8315961..f7d275a 100644
--- a/test/TableGen/dg.exp
+++ b/test/TableGen/dg.exp
@@ -1,3 +1,3 @@
-load_lib llvm-dg.exp
+load_lib llvm.exp
-llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{td}]]
+RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{td}]]