Fix missing files for ld when test suite not compiled in the source directory
authorCarl E. Love <carll@oc4738070240.ibm.com>
Fri, 19 Aug 2016 18:06:38 +0000 (11:06 -0700)
committerCarl E. Love <carll@oc4738070240.ibm.com>
Fri, 19 Aug 2016 18:06:38 +0000 (11:06 -0700)
commit20c2c024c1e89e402a57e8c3577fb9777709d9a4
treeb58c69e9c33de84993d95d02ed96ac288b1ab5d9
parent03bcd7394eefb9399f5ab97919a0463dea274c02
Fix missing files for ld when test suite not compiled in the source directory

This patch fixes an issues with six test suite expect files that do not
run correctly when the test suite is not built in the source directory.  The
issue is these tests are not using the current "standard_testfile" call
but rather using the older set command to initialize the "testfile",
"srcfile" and "binprefix" variables or are missing the set for the
"binprefix" variable.

-----------------------------------------------

gdb/testsuite/ChangeLog

2016-08-19  Carl Love  <cel@us.ibm.com>

* gdb.arch/altivec-regs.exp: Use standard_testfile instead of
maintaining separate logic for constructing the output path.
* gdb.arch/powerpc-d128-regs.exp: Likewise.
* gdb.arch/ppc-dfp.exp: Likewise.
* gdb.arch/ppc-fp.exp: Likewise.
* gdb.arch/vsx-regs.exp: Likewise.
* gdb.arch/altivec-abi.exp: Likewise, plus added local variable
binprefix for generating the additional binary files.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.arch/altivec-abi.exp
gdb/testsuite/gdb.arch/altivec-regs.exp
gdb/testsuite/gdb.arch/powerpc-d128-regs.exp
gdb/testsuite/gdb.arch/ppc-dfp.exp
gdb/testsuite/gdb.arch/ppc-fp.exp
gdb/testsuite/gdb.arch/vsx-regs.exp