FYI: fix test name in actions.exp

Tom Tromey tromey@redhat.com
Fri Jun 21 17:25:00 GMT 2013


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"



More information about the Gdb-patches mailing list