aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilfried Moser <moser@cygnus>1995-12-05 09:52:45 +0000
committerWilfried Moser <moser@cygnus>1995-12-05 09:52:45 +0000
commit29ba0f287699462339e7390ec9d94b514bf0e1da (patch)
tree19f785b002dca0c7e43ddc5a159557530c881533
parenteedc864a72838fbac6ba1b8fc2b164b9187c2afc (diff)
downloadgdb-29ba0f287699462339e7390ec9d94b514bf0e1da.zip
gdb-29ba0f287699462339e7390ec9d94b514bf0e1da.tar.gz
gdb-29ba0f287699462339e7390ec9d94b514bf0e1da.tar.bz2
* tests2.exp: Add compiling of the test case.
-rw-r--r--gdb/testsuite/gdb.chill/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.chill/tests2.exp8
2 files changed, 12 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.chill/ChangeLog b/gdb/testsuite/gdb.chill/ChangeLog
index a65b586..680097a 100644
--- a/gdb/testsuite/gdb.chill/ChangeLog
+++ b/gdb/testsuite/gdb.chill/ChangeLog
@@ -1,3 +1,7 @@
+Tue Dec 5 01:51:45 1995 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com>
+
+ * tests2.exp: Add compiling of the test case.
+
Fri Dec 1 00:08:37 1995 Per Bothner <bothner@kalessin.cygnus.com>
* pr-8405.ch, pr-8405.exp, Makefile.in: New test case.
diff --git a/gdb/testsuite/gdb.chill/tests2.exp b/gdb/testsuite/gdb.chill/tests2.exp
index 9023a9c..8daa743 100644
--- a/gdb/testsuite/gdb.chill/tests2.exp
+++ b/gdb/testsuite/gdb.chill/tests2.exp
@@ -27,6 +27,14 @@ set bug_id 0
# Set the current language to chill. This counts as a test. If it
# fails, then we skip the other tests.
+set testfile "tests2"
+set srcfile ${srcdir}/$subdir/${testfile}.ch
+set binfile ${objdir}/${subdir}/${testfile}.exe
+if { [compile "${srcfile} -g -w -o ${binfile} ${CHILL_RT0} ${CHILL_LIB}"] != "" } {
+ perror "Couldn't compile ${srcfile}"
+ return -1
+}
+
proc set_lang_chill {} {
global prompt
global binfile objdir subdir