public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH obv] Fix IPA detection in ftrace-insn-reloc.exp
@ 2016-04-06  0:38 Simon Marchi
  0 siblings, 0 replies; only message in thread
From: Simon Marchi @ 2016-04-06  0:38 UTC (permalink / raw)
  To: gdb-patches; +Cc: Simon Marchi

FYI, I just pushed this as obvious.

In commit 6e774b13c3b, I forgot to update this test.

gdb/testsuite/ChangeLog:

	* gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
	absolute.
---
 gdb/testsuite/ChangeLog                      | 5 +++++
 gdb/testsuite/gdb.arch/ftrace-insn-reloc.exp | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 69aea5e..222e2f5 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2016-04-05  Simon Marchi  <simon.marchi@polymtl.ca>
+
+	* gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
+	absolute.
+
 2016-04-05  Simon Marchi  <simon.marchi@ericsson.com>
 
 	* gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
diff --git a/gdb/testsuite/gdb.arch/ftrace-insn-reloc.exp b/gdb/testsuite/gdb.arch/ftrace-insn-reloc.exp
index de48353..b7f7653 100644
--- a/gdb/testsuite/gdb.arch/ftrace-insn-reloc.exp
+++ b/gdb/testsuite/gdb.arch/ftrace-insn-reloc.exp
@@ -58,7 +58,7 @@ if ![runto_main] {
 
 gdb_reinitialize_dir $srcdir/$subdir
 
-if { [gdb_test "info sharedlibrary" ".*${libipa}.*" "IPA loaded"] != 0 } {
+if { [gdb_test "info sharedlibrary" ".*[file tail ${libipa}].*" "IPA loaded"] != 0 } {
     untested "Could not find IPA lib loaded"
     return 1
 }
-- 
2.8.0

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-04-06  0:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-06  0:38 [PATCH obv] Fix IPA detection in ftrace-insn-reloc.exp Simon Marchi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).