test suite fixlet for gdb.trace
authorTom Tromey <tromey@redhat.com>
Tue, 16 Jul 2013 18:48:31 +0000 (18:48 +0000)
committerTom Tromey <tromey@redhat.com>
Tue, 16 Jul 2013 18:48:31 +0000 (18:48 +0000)
This is a minor fix to clean up the last remaining test suite
parallelization issue in gdb.trace.

mi-traceframe-changed.exp refers to objdir.  This patch changes the
code to have the same effect, but avoid using that variable.

* gdb.trace/mi-traceframe-changed.exp: Don't use objdir.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.trace/mi-traceframe-changed.exp

index a55b7e3..749864d 100644 (file)
@@ -1,3 +1,7 @@
+2013-07-16  Tom Tromey  <tromey@redhat.com>
+
+       * gdb.trace/mi-traceframe-changed.exp: Don't use objdir.
+
 2013-07-09  Joel Brobecker  <brobecker@adacore.com>
 
        * gdb.ada/small_reg_param.exp: Accept optional entry value
index cb83dbe..21e11d5 100644 (file)
@@ -76,8 +76,8 @@ test_tfind_tfile
 # Change to a different test case in order to run it on target, and get
 # several traceframes.
 standard_testfile status-stop.c
-set testfile ${testfile}-1
-set binfile ${objdir}/${subdir}/${testfile}
+append testfile -1
+append binfile -1
 set executable $testfile
 
 if  { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" \