2003-01-20 Elena Zannoni <ezannoni@redhat.com>

* gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
	allow for different test tree configurations.  Update some
	tescases accordingly.
	* gdb.arch/altivec-regs.exp: Ditto.
	* gdb.asm/asm-source.exp: Ditto.
	* gdb.base/advance.exp: Ditto.
	* gdb.base/display.exp: Ditto.
	* gdb.base/long_long.exp: Ditto.
	* gdb.base/mips_pro.exp: Ditto.
	* gdb.base/overlays.exp: Ditto.
	* gdb.base/relocate.exp: Ditto.
	* gdb.base/setshow.exp: Ditto.
	* gdb.base/step-line.exp: Ditto.
	* gdb.base/step-test.exp: Ditto.
	* gdb.base/until.exp: Ditto.
	* gdb.c++/virtfunc.exp: Get rid of variable 'src'.
This commit is contained in:
Elena Zannoni
2003-01-20 15:40:07 +00:00
parent d2823f55fd
commit f2dd3617b5
15 changed files with 69 additions and 53 deletions

View File

@@ -39,8 +39,7 @@ if [get_compiler_info ${binfile} "c++"] {
source ${binfile}.ci
set src "${srcdir}/${subdir}/${srcfile}"
if { [gdb_compile "${src}" "${binfile}" executable {c++ debug}] != "" } {
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {c++ debug}] != "" } {
gdb_suppress_entire_file "Testcase compile failed, so all tests in this file will automatically fail."
}