aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.chill/Makefile.in
diff options
context:
space:
mode:
authorPer Bothner <per@bothner.com>1994-09-06 20:23:16 +0000
committerPer Bothner <per@bothner.com>1994-09-06 20:23:16 +0000
commit16654bbe99ac3467ed1cf622ea3b8ac282c38bcf (patch)
treeb9a8d13a0c86be47dc0539e882f5311688b9a2c1 /gdb/testsuite/gdb.chill/Makefile.in
parentb19d7c45d726b324c84950c9bf6f1165b7125226 (diff)
downloadgdb-16654bbe99ac3467ed1cf622ea3b8ac282c38bcf.zip
gdb-16654bbe99ac3467ed1cf622ea3b8ac282c38bcf.tar.gz
gdb-16654bbe99ac3467ed1cf622ea3b8ac282c38bcf.tar.bz2
* pr-5016.ch, pr-5016.exp, Makefile.in: New testcase.
* Makefile.in (.exe.check): New rule, to run just one test.
Diffstat (limited to 'gdb/testsuite/gdb.chill/Makefile.in')
-rw-r--r--gdb/testsuite/gdb.chill/Makefile.in12
1 files changed, 10 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.chill/Makefile.in b/gdb/testsuite/gdb.chill/Makefile.in
index 6922f85..144b1c1 100644
--- a/gdb/testsuite/gdb.chill/Makefile.in
+++ b/gdb/testsuite/gdb.chill/Makefile.in
@@ -103,7 +103,7 @@ GDBFLAGS = -nx
#### host, target, and site specific Makefile frags come in here.
EXECUTABLES = chillvars.exe result.exe \
- pr-4975.exe pr-5020.exe pr-5022.exe
+ pr-4975.exe pr-5016.exe pr-5020.exe pr-5022.exe
# To force pr-4975-grt to be compiled before pr-4975, so the
# latter can use the former's grant file.
@@ -111,7 +111,7 @@ pr-4975.o: pr-4975-grt.o
all: $(EXECUTABLES)
-.SUFFIXES: .ch .exe
+.SUFFIXES: .ch .exe .check
.o.exe:
$(CHILL_FOR_TARGET) $(CHILLFLAGS) $(LDFLAGS) -o $*.exe $*.o $(CHILL_LIB) $(LIBS)
@@ -119,6 +119,14 @@ all: $(EXECUTABLES)
.ch.o:
$(CHILL_FOR_TARGET) $(CHILLFLAGS) -fspecial_UC -c $<
+# Do 'make chillvars.check' to run just the chillvars.{ch,exp} test.
+
+.exe.check:
+ rootme=`pwd`/; export rootme; \
+ cd .. ; \
+ $(MAKE) just-check RUNTESTFLAGS="${RUNTESTFLAGS} $*.exp" \
+ GDB=${GDB} EXPECT=${EXPECT}
+
.NOEXPORT:
INFODIRS=doc
info: