[patch] avoid remote-host failures in gdb.linespec/linespec.exp

Sandra Loosemore sandra@codesourcery.com
Thu Apr 4 08:13:00 GMT 2013


This patch gets rid of a couple test fails in linespec.exp that we've 
observed from remote-host i686-mingw32 testing of Canadian cross 
toolchains for multiple targets.  As I observed in my notes on a 
previous patch

http://sourceware.org/ml/gdb-patches/2013-04/msg00053.html

in this configuration the test harness copies the source files to the 
working directory on the remote host and compiles them there, without a 
directory prefix.  So, tests that depend on a directory prefix being 
present (in this case, to disambiguate files that otherwise have the 
same name) can't be expected to work.

OK to commit?

-Sandra


2013-04-03  Sandra Loosemore  <sandra@codesourcery.com>

	gdb/testsuite/

	* gdb.linespec/linespec.exp (test_class): Make dir/file:line tests
	conditional for non-remote hosts only.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: linespec.patch
Type: text/x-patch
Size: 1372 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20130404/d5ba4764/attachment.bin>


More information about the Gdb-patches mailing list