summaryrefslogtreecommitdiffstats
path: root/llvm/test/TableGen
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/TableGen')
-rw-r--r--llvm/test/TableGen/Include.td2
-rw-r--r--llvm/test/TableGen/LazyChange.td2
-rw-r--r--llvm/test/TableGen/MultiClass.td3
-rw-r--r--llvm/test/TableGen/dg.exp4
4 files changed, 5 insertions, 6 deletions
diff --git a/llvm/test/TableGen/Include.td b/llvm/test/TableGen/Include.td
index fe9ecb05d53..29ed5150c62 100644
--- a/llvm/test/TableGen/Include.td
+++ b/llvm/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/llvm/test/TableGen/LazyChange.td b/llvm/test/TableGen/LazyChange.td
index c3e54de0a8b..145fd0bb79f 100644
--- a/llvm/test/TableGen/LazyChange.td
+++ b/llvm/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/llvm/test/TableGen/MultiClass.td b/llvm/test/TableGen/MultiClass.td
index 2840e6742e6..41019eb675d 100644
--- a/llvm/test/TableGen/MultiClass.td
+++ b/llvm/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/llvm/test/TableGen/dg.exp b/llvm/test/TableGen/dg.exp
index 83159616d40..f7d275ad8cb 100644
--- a/llvm/test/TableGen/dg.exp
+++ b/llvm/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}]]
OpenPOWER on IntegriCloud