fix some simple thinkos in the test suite
authorTom Tromey <tromey@redhat.com>
Thu, 22 Aug 2013 18:10:25 +0000 (12:10 -0600)
committerTom Tromey <tromey@redhat.com>
Mon, 4 Nov 2013 17:55:58 +0000 (10:55 -0700)
This fixes some parallelization thinkos from a while ago.  I'm not
sure how the problems ever slipped through.  In addition to a thinko
fix in twice.exp, this also finishes fixing it up for parallelization.

2013-11-04  Tom Tromey  <tromey@redhat.com>

* gdb.base/gcore-buffer-overflow.exp: Use
standard_output_file, not standard_testfile.
* gdb.base/twice.exp: Use standard_testfile, not
standard_output_file.  Use gdb_remote_download.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/gcore-buffer-overflow.exp
gdb/testsuite/gdb.base/twice.exp

index 35844c0192f8f20e621c14a71a82f51191049137..72d9c033e238496daba092e5842974bce3370efd 100644 (file)
@@ -1,3 +1,10 @@
+2013-11-04  Tom Tromey  <tromey@redhat.com>
+
+       * gdb.base/gcore-buffer-overflow.exp: Use
+       standard_output_file, not standard_testfile.
+       * gdb.base/twice.exp: Use standard_testfile, not
+       standard_output_file.  Use gdb_remote_download.
+
 2013-11-04  Tom Tromey  <tromey@redhat.com>
 
        * lib/gdb.exp (get_compiler_info): Use log_file -info and
index 8d0867e373a8591286aae83b64249637dbc5a041..47dccf9de79e78f2319c99d367bbed6ff65023c1 100644 (file)
@@ -51,4 +51,5 @@ if { ! [ runto_main ] } then {
     return -1
 }
 
-gdb_gcore_cmd [standard_testfile gcore-buffer-overflow.test] "save a corefile"
+gdb_gcore_cmd [standard_output_file gcore-buffer-overflow.test] \
+    "save a corefile"
index 936ddcb1dfcae1177be9202116c997009ae853ea..9e7e33487b5b694b2c718be489f07d909cca2aa1 100644 (file)
@@ -14,7 +14,7 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 
-standard_output_file twice.c
+standard_testfile twice.c
 set options debug
 lappend options "additional_flags=-I."
 
@@ -23,7 +23,7 @@ set fileid [open $local_srcfile w]
 puts $fileid "#include \"twice.c\""
 close $fileid
 
-remote_download host ${srcdir}/${subdir}/twice.c twice.c
+gdb_remote_download host ${srcdir}/${subdir}/twice.c
 
 if  { [gdb_compile $local_srcfile "${binfile}" executable $options] != "" } {
      untested twice.exp
This page took 0.037554 seconds and 4 git commands to generate.