From 20e3d738feac37983dda0f0b680768315e62d29c Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Tue, 16 Jul 2013 18:48:31 +0000 Subject: [PATCH] test suite fixlet for gdb.trace 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 | 4 ++++ gdb/testsuite/gdb.trace/mi-traceframe-changed.exp | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index a55b7e368fa..749864d8f84 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2013-07-16 Tom Tromey + + * gdb.trace/mi-traceframe-changed.exp: Don't use objdir. + 2013-07-09 Joel Brobecker * gdb.ada/small_reg_param.exp: Accept optional entry value diff --git a/gdb/testsuite/gdb.trace/mi-traceframe-changed.exp b/gdb/testsuite/gdb.trace/mi-traceframe-changed.exp index cb83dbe71ed..21e11d5e5d1 100644 --- a/gdb/testsuite/gdb.trace/mi-traceframe-changed.exp +++ b/gdb/testsuite/gdb.trace/mi-traceframe-changed.exp @@ -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}" \ -- 2.30.2