aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/mips_pro.exp
diff options
context:
space:
mode:
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>2003-01-20 15:40:07 +0000
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>2003-01-20 15:40:07 +0000
commitf2dd3617b5abbdbf929f7b07cb3da97f518aef85 (patch)
tree96f2f44b72b0bb83689a745cb6b0a9ebf59d0eec /gdb/testsuite/gdb.base/mips_pro.exp
parentd2823f55fd5735344f6181f5ec1bd3b51108db17 (diff)
downloadbinutils-f2dd3617b5abbdbf929f7b07cb3da97f518aef85.zip
binutils-f2dd3617b5abbdbf929f7b07cb3da97f518aef85.tar.gz
binutils-f2dd3617b5abbdbf929f7b07cb3da97f518aef85.tar.bz2
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'.
Diffstat (limited to 'gdb/testsuite/gdb.base/mips_pro.exp')
-rw-r--r--gdb/testsuite/gdb.base/mips_pro.exp8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/testsuite/gdb.base/mips_pro.exp b/gdb/testsuite/gdb.base/mips_pro.exp
index 1697eee..a860e63 100644
--- a/gdb/testsuite/gdb.base/mips_pro.exp
+++ b/gdb/testsuite/gdb.base/mips_pro.exp
@@ -1,4 +1,4 @@
-# Copyright 1997, 1999 Free Software Foundation, Inc.
+# Copyright 1997, 1999, 2000, 2001, 2003 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -25,7 +25,7 @@ set prms_id 0
set bug_id 0
set testfile mips_pro
-set srcfile ${srcdir}/$subdir/${testfile}.c
+set srcfile ${testfile}.c
set binfile ${objdir}/${subdir}/${testfile}
# Create and source the file that provides information about the compiler
@@ -38,11 +38,11 @@ if [get_compiler_info ${binfile}] {
# This test must be compiled with -O2 if using gcc.
if {$gcc_compiled} then {
- if { [gdb_compile "${srcfile}" "${binfile}" executable {debug additional_flags=-O2}] != "" } {
+ if { [gdb_compile "${srcdir}/$subdir/${srcfile}" "${binfile}" executable {debug additional_flags=-O2}] != "" } {
gdb_suppress_entire_file "Testcase compile failed, so all tests in this file will automatically fail."
}
} else {
- if { [gdb_compile "${srcfile}" "${binfile}" executable {debug}] != "" } {
+ if { [gdb_compile "${srcdir}/$subdir/${srcfile}" "${binfile}" executable {debug}] != "" } {
gdb_suppress_entire_file "Testcase compile failed, so all tests in this file will automatically fail."
}
}