This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
FYI: fix test name in actions.exp
- From: Tom Tromey <tromey at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Fri, 21 Jun 2013 11:18:28 -0600
- Subject: FYI: fix test name in actions.exp
I'm checking this in.
Today I noticed that a test in actions.exp includes the full file name
in the test name. This gives spurious comparison differences if you run
the test suite in different trees.
This patch fixes the test name.
Tom
2013-06-21 Tom Tromey <tromey@redhat.com>
* gdb.trace/actions.exp (check_tracepoint): Don't use a full file
name in a test name.
Index: gdb.trace/actions.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.trace/actions.exp,v
retrieving revision 1.31
diff -u -r1.31 actions.exp
--- gdb.trace/actions.exp 7 Jun 2013 17:31:09 -0000 1.31
+++ gdb.trace/actions.exp 21 Jun 2013 17:17:19 -0000
@@ -309,7 +309,8 @@
gdb_test_no_output "tstop" ""
set tracefile [standard_output_file ${testfile}]
gdb_test "tsave ${tracefile}.tf" \
- "Trace data saved to file '${tracefile}.tf'\.\\r"
+ "Trace data saved to file '${tracefile}.tf'\.\\r" \
+ "tsave ${testfile}.tf"
gdb_test "tsave -ctf ${tracefile}.ctf" \
"Trace data saved to directory '${tracefile}.ctf'\.\\r" \
"save ctf trace file"