* expstruct.exp (objfile2): Set and use, like other chill tests.
authorFred Fish <fnf@specifix.com>
Fri, 11 Oct 1996 23:54:12 +0000 (23:54 +0000)
committerFred Fish <fnf@specifix.com>
Fri, 11 Oct 1996 23:54:12 +0000 (23:54 +0000)
* pr-4975.exp: Ditto.
* pr-5646.exp: Ditto.
* pr-8134.exp: Ditto.

gdb/testsuite/gdb.chill/ChangeLog
gdb/testsuite/gdb.chill/extstruct.exp
gdb/testsuite/gdb.chill/pr-4975.exp
gdb/testsuite/gdb.chill/pr-5646.exp
gdb/testsuite/gdb.chill/pr-8134.exp

index 59e57da..23c9263 100644 (file)
@@ -1,3 +1,10 @@
+Fri Oct 11 16:48:56 1996  Fred Fish  <fnf@cygnus.com>
+
+       * expstruct.exp (objfile2): Set and use, like other chill tests.
+       * pr-4975.exp: Ditto.
+       * pr-5646.exp: Ditto.
+       * pr-8134.exp: Ditto.
+
 Thu Sep  5 01:54:42 1996  Wilfried Moser (Alcatel)  <moser@rtl.cygnus.com>
 
        * gch1280.exp: Enhance test case.
index 6ef4b9a..c789cc2 100644 (file)
@@ -27,7 +27,8 @@ if [skip_chill_tests] then { continue }
 
 set testfile2 "extstruct-grt"
 set srcfile2 ${srcdir}/$subdir/${testfile2}.ch
-if  { [compile "${srcfile2} -g -c"] != "" } {
+set objfile2 ${objdir}/$subdir/${testfile2}.o
+if  { [compile "${srcfile2} -g -c -o ${objfile2}"] != "" } {
     perror "Couldn't compile ${srcfile2}"
     return -1
 }
@@ -35,7 +36,7 @@ if  { [compile "${srcfile2} -g -c"] != "" } {
 set testfile "extstruct"
 set srcfile ${srcdir}/$subdir/${testfile}.ch
 set binfile ${objdir}/${subdir}/${testfile}.exe
-if  { [compile "${srcfile} -g -o ${binfile} ${CHILL_RT0} ${CHILL_LIB}"] != "" } {
+if  { [compile "${srcfile} -g ${objfile2} -o ${binfile} ${CHILL_RT0} ${CHILL_LIB}"] != "" } {
     perror "Couldn't compile ${srcfile}"
     return -1
 }
index ad3f83e..787b3bd 100644 (file)
@@ -27,7 +27,8 @@ if [skip_chill_tests] then { continue }
 
 set testfile2 "pr-4975-grt"
 set srcfile2 ${srcdir}/$subdir/${testfile2}.ch
-if  { [compile "${srcfile2} -g -c"] != "" } {
+set objfile2 ${objdir}/$subdir/${testfile2}.o
+if  { [compile "${srcfile2} -g -c -o ${objfile2}"] != "" } {
     perror "Couldn't compile ${srcfile2}"
     return -1
 }
@@ -35,7 +36,7 @@ if  { [compile "${srcfile2} -g -c"] != "" } {
 set testfile "pr-4975"
 set srcfile ${srcdir}/$subdir/${testfile}.ch
 set binfile ${objdir}/${subdir}/${testfile}.exe
-if  { [compile "${srcfile} -g -o ${binfile} ${CHILL_RT0} ${CHILL_LIB}"] != "" } {
+if  { [compile "${srcfile} -g ${objfile2} -o ${binfile} ${CHILL_RT0} ${CHILL_LIB}"] != "" } {
     perror "Couldn't compile ${srcfile}"
     return -1
 }
index 8f57c15..2c0cb08 100644 (file)
@@ -27,7 +27,8 @@ if [skip_chill_tests] then { continue }
 
 set testfile2 "pr-5646-grt"
 set srcfile2 ${srcdir}/$subdir/${testfile2}.ch
-if  { [compile "${srcfile2} -g -c"] != "" } {
+set objfile2 ${objdir}/$subdir/${testfile2}.o
+if  { [compile "${srcfile2} -g -c -o ${objfile2}"] != "" } {
     perror "Couldn't compile ${srcfile2}"
     return -1
 }
@@ -35,7 +36,7 @@ if  { [compile "${srcfile2} -g -c"] != "" } {
 set testfile "pr-5646"
 set srcfile ${srcdir}/$subdir/${testfile}.ch
 set binfile ${objdir}/${subdir}/${testfile}.exe
-if  { [compile "${srcfile} -g -o ${binfile} ${CHILL_RT0} ${CHILL_LIB}"] != "" } {
+if  { [compile "${srcfile} -g ${objfile2} -o ${binfile} ${CHILL_RT0} ${CHILL_LIB}"] != "" } {
     perror "Couldn't compile ${srcfile}"
     return -1
 }
index e2586d0..bbf97d9 100644 (file)
@@ -28,7 +28,8 @@ if [skip_chill_tests] then { continue }
 # Note we use pr-8136.ch for pr-8134.exp as well as pr-8136.exp.
 set testfile2 "func1"
 set srcfile2 ${srcdir}/$subdir/${testfile2}.ch
-if  { [compile "${srcfile2} -g -c"] != "" } {
+set objfile2 ${objdir}/$subdir/${testfile2}.o
+if  { [compile "${srcfile2} -g -c -o ${objfile2}"] != "" } {
     perror "Couldn't compile ${srcfile2}"
     return -1
 }
@@ -36,7 +37,7 @@ if  { [compile "${srcfile2} -g -c"] != "" } {
 set testfile "pr-8134"
 set srcfile ${srcdir}/$subdir/pr-8136.ch
 set binfile ${objdir}/${subdir}/${testfile}.exe
-if  { [compile "${srcfile} -g -o ${binfile} ${CHILL_RT0} ${CHILL_LIB}"] != "" } {
+if  { [compile "${srcfile} -g ${objfile2} -o ${binfile} ${CHILL_RT0} ${CHILL_LIB}"] != "" } {
     perror "Couldn't compile ${srcfile}"
     return -1
 }