]> Git Repo - binutils.git/commitdiff
* gdb.go/package.exp: Partially revert earlier patch; use
authorTom Tromey <[email protected]>
Thu, 28 Jun 2012 13:52:51 +0000 (13:52 +0000)
committerTom Tromey <[email protected]>
Thu, 28 Jun 2012 13:52:51 +0000 (13:52 +0000)
gdb_compile again.  Use standard_output_file.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.go/package.exp

index 339cb0af07362dcf734bf1066cd5e77f22410bf4..36a3534c08900811cce09ac00b3aa2ee806ae964 100644 (file)
@@ -1,3 +1,8 @@
+2012-06-28  Tom Tromey  <[email protected]>
+
+       * gdb.go/package.exp: Partially revert earlier patch; use
+       gdb_compile again.  Use standard_output_file.
+
 2012-06-27  Doug Evans  <[email protected]>
 
        * gdb.dwarf2/fission-base.c: New file.
index a9186ac2df43019f1c8b3c7fdb0daf68e16b2ed3..1fd65fc9186cf5e02fbf99ceb9867d9b8a45940f 100644 (file)
@@ -23,10 +23,17 @@ if { [skip_go_tests] } { continue }
 
 standard_testfile package1.go package2.go
 
-if {[prepare_for_testing $testfile.exp $testfile [list $srcfile $srcfile2] \
-        [list debug go libdir=[standard_output_file {}]]]} {
+if  { [gdb_compile "${srcdir}/${subdir}/${testfile}2.go" "${binfile}2.o" object {debug go}] != "" } {
+    untested $testfile
     return -1
 }
+if  { [gdb_compile "${srcdir}/${subdir}/${testfile}1.go ${binfile}2.o" "${binfile}" executable "debug go libdir=[standard_output_file {}]"] != "" } {
+    untested $testfile
+    return -1
+}
+
+clean_restart $testfile
 
 if { [go_runto_main] < 0 } {
     untested methods
This page took 0.08388 seconds and 4 git commands to generate.