binutils-gdb/gdb/testsuite/gdb.guile
Yao Qi df1b803ada Fix parallel testing issues in gdb.guile tests
Some gdb.guile tests such as scm-error.exp copies .scm file to
${subdir}/, how ${subdir} doesn't exist in parallel testing
(outputs/${subdir} exists).

$ make -j3 check TESTS='gdb.guile/scm-section-script.exp gdb.guile/scm-error.exp gdb.guile/scm-frame-args.exp'

ERROR: remote_download to host of ../../../../git/gdb/testsuite/gdb.guile/scm-section-script.scm to gdb.guile/t-scm-section-script.scm: cp: cannot create regular file 'gdb.guile/t-scm-section-script.scm': No such file or directory
ERROR: remote_download to host of ../../../../git/gdb/testsuite/gdb.guile/scm-frame-args.scm to gdb.guile/t-scm-frame-args.scm: cp: cannot create regular file
'gdb.guile/t-scm-frame-args.scm': No such file or directory
ERROR: remote_download to host of ../../../../git/gdb/testsuite/gdb.guile/scm-error-1.scm to gdb.guile/t-scm-error-1.scm: cp: cannot create regular file 'gdb.guile/t-scm-error-1.scm': No such file or directory

This patch is to remove the third argument of gdb_remote_download, so
that gdb_remote_download can return the correct location.

Further, these tests only copy .scm files to a different name.  From what
I can tell from the comments, looks we do this to avoid clobbering file
in in-tree build.  However, if source and dest of copy are the same, the
operation is no-op.  So it makes few sense to copy .scm files to a
different names.  I tried in-tree build/test with this patch, test
result isn't changed.

gdb/testsuite:

2014-12-05  Yao Qi  <yao@codesourcery.com>

	* gdb.guile/scm-error.exp: Remove the third argument to
	gdb_remote_download.
	* gdb.guile/scm-frame-args.exp: Likewise.
	* gdb.guile/scm-section-script.exp: Likewise.
2014-12-05 19:45:04 +08:00
..
Makefile.in
guile.exp
scm-arch.c
scm-arch.exp
scm-block.c
scm-block.exp
scm-breakpoint.c
scm-breakpoint.exp Fix mingw32 failures due to incorrect directory separator in pattern 2014-10-17 11:28:17 -03:00
scm-cmd.c Add command support for Guile. 2014-06-03 00:29:49 -07:00
scm-cmd.exp Fix PR gdb/17035: "show user" doesn't list user-defined commands that 2014-09-07 20:12:19 -03:00
scm-disasm.c
scm-disasm.exp Remove duplicated code on checking address 0x0 is accessiable 2014-08-09 08:46:32 +08:00
scm-equal.c
scm-equal.exp
scm-error-1.scm
scm-error-2.scm
scm-error.exp Fix parallel testing issues in gdb.guile tests 2014-12-05 19:45:04 +08:00
scm-frame-args.c * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3. 2014-06-06 15:41:09 -07:00
scm-frame-args.exp Fix parallel testing issues in gdb.guile tests 2014-12-05 19:45:04 +08:00
scm-frame-args.scm
scm-frame-inline.c
scm-frame-inline.exp
scm-frame.c
scm-frame.exp
scm-gsmob.exp
scm-iterator.c
scm-iterator.exp
scm-math.c
scm-math.exp
scm-objfile-script-gdb.in
scm-objfile-script.c
scm-objfile-script.exp
scm-objfile.c
scm-objfile.exp
scm-parameter.exp PR guile/17203 2014-07-28 19:20:30 -07:00
scm-ports.exp
scm-pretty-print.c
scm-pretty-print.exp Remove duplicated code on checking address 0x0 is accessiable 2014-08-09 08:46:32 +08:00
scm-pretty-print.scm Add progspace support for Guile. 2014-06-02 23:46:27 -07:00
scm-progspace.c Add progspace support for Guile. 2014-06-02 23:46:27 -07:00
scm-progspace.exp Add progspace support for Guile. 2014-06-02 23:46:27 -07:00
scm-section-script.c
scm-section-script.exp Fix parallel testing issues in gdb.guile tests 2014-12-05 19:45:04 +08:00
scm-section-script.scm
scm-symbol.c
scm-symbol.exp
scm-symtab-2.c
scm-symtab.c
scm-symtab.exp
scm-type.c
scm-type.exp
scm-value-cc.cc
scm-value-cc.exp
scm-value.c
scm-value.exp Skip testing argv[0] on target argv[0] isn't available 2014-10-18 20:58:06 +08:00
source2.scm
types-module.cc
types-module.exp PR guile/17146 preparatory work. 2014-07-26 17:03:04 -07:00