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]

FYI: fix test name in solib-search.exp


While regression-testing a patch today, I noticed that solib-search.exp
puts a file name into a test name.  This is bad because it leads to
spurious comparison failures.

I'm checking this in.  This sets the test name to something that isn't
location-dependent.

Re-tested this file on x86-64 Fedora 18.

Tom

2013-05-08  Tom Tromey  <tromey@redhat.com>

	* gdb.base/solib-search.exp: Set test name for "set
	solib-search-path" test.

Index: gdb.base/solib-search.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/solib-search.exp,v
retrieving revision 1.1
diff -u -r1.1 solib-search.exp
--- gdb.base/solib-search.exp	6 May 2013 22:20:18 -0000	1.1
+++ gdb.base/solib-search.exp	8 May 2013 18:55:22 -0000
@@ -175,7 +175,9 @@
 remote_exec build "rm -f ${binfile1_lib}"
 remote_exec build "rm -f ${binfile2_lib}"
 # Set solib-search-path to use the correct copies of libraries.
-gdb_test "set solib-search-path ${objdir}/${subdir}/${right_lib_subdir}"
+gdb_test "set solib-search-path ${objdir}/${subdir}/${right_lib_subdir}" \
+    "" \
+    "set solib-search-path"
 
 # Verify gdb has properly updated the location of the libraries.
 test_backtrace 0


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