This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] gdb.base/jit.exp: Add testcase name to log message


Hi,

this minor patch just adds the testcase name to the log message, following the
common pattern from the others testcases. Ok to commit?

--
Edjunior

2011-09-26  Edjunior Machado  <emachado@linux.vnet.ibm.com>

	gdb/testsuite/
	* gdb.base/jit.exp: Add testcase name to log message

---
 gdb/testsuite/gdb.base/jit.exp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gdb/testsuite/gdb.base/jit.exp b/gdb/testsuite/gdb.base/jit.exp
index a6a8cc0..6c4c424 100644
--- a/gdb/testsuite/gdb.base/jit.exp
+++ b/gdb/testsuite/gdb.base/jit.exp
@@ -59,7 +59,7 @@ proc one_jit_test {count match_str} {
     global verbose testfile solib_binfile_target solib_binfile_test_msg pf_prefix
 
     set old_pf_prefix $pf_prefix
-    set pf_prefix "one_jit_test-$count"
+    lappend pf_prefix "one_jit_test-$count:"
 
     clean_restart $testfile
 
@@ -97,7 +97,7 @@ proc one_jit_test {count match_str} {
     gdb_continue_to_breakpoint "break here 2"
     # All jit librares must have been unregistered
     gdb_test "info function jit_function" \
-	"All functions matching regular expression \"jit_function\":" \
+	"All functions matching regular expression \"jit_function\":" 
     set pf_prefix $old_pf_prefix
 }
 
-- 
1.6.0.2


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]