* tests2.exp: Add compiling of the test case.

This commit is contained in:
Wilfried Moser 1995-12-05 09:52:45 +00:00
parent eedc864a72
commit 29ba0f2876
2 changed files with 12 additions and 0 deletions

View file

@ -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.

View file

@ -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