diff options
author | Michael Chastain <mec@google.com> | 2004-08-15 09:17:30 +0000 |
---|---|---|
committer | Michael Chastain <mec@google.com> | 2004-08-15 09:17:30 +0000 |
commit | dd8c8ee780bcbb801536f2e0ba91e0f90ac821c2 (patch) | |
tree | 9d9fd2abf1b6e57a6eb4c046e55452a803b0a231 /gdb/testsuite/gdb.cp/ctti.exp | |
parent | b6eb28d454f74532e8e3948649b286deca87a519 (diff) | |
download | gdb-dd8c8ee780bcbb801536f2e0ba91e0f90ac821c2.zip gdb-dd8c8ee780bcbb801536f2e0ba91e0f90ac821c2.tar.gz gdb-dd8c8ee780bcbb801536f2e0ba91e0f90ac821c2.tar.bz2 |
2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
* gdb.cp/m-static.exp: Likewise.
* gdb.cp/rtti.exp: Likewise.
Diffstat (limited to 'gdb/testsuite/gdb.cp/ctti.exp')
-rw-r--r-- | gdb/testsuite/gdb.cp/ctti.exp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/gdb/testsuite/gdb.cp/ctti.exp b/gdb/testsuite/gdb.cp/ctti.exp index a2a2e0a..de1ee34 100644 --- a/gdb/testsuite/gdb.cp/ctti.exp +++ b/gdb/testsuite/gdb.cp/ctti.exp @@ -29,33 +29,33 @@ if $tracelevel then { if { [skip_cplus_tests] } { continue } set testfile "cttiadd" -set srcfile "${srcdir}/${subdir}/${testfile}.cc" -set srcfile1 "${srcdir}/${subdir}/${testfile}1.cc" -set srcfile2 "${srcdir}/${subdir}/${testfile}2.cc" -set srcfile3 "${srcdir}/${subdir}/${testfile}3.cc" -set objfile "${objdir}/${subdir}/${testfile}.o" -set objfile1 "${objdir}/${subdir}/${testfile}1.o" -set objfile2 "${objdir}/${subdir}/${testfile}2.o" -set objfile3 "${objdir}/${subdir}/${testfile}3.o" +set srcfile "${testfile}.cc" +set srcfile1 "${testfile}1.cc" +set srcfile2 "${testfile}2.cc" +set srcfile3 "${testfile}3.cc" +set objfile "${testfile}.o" +set objfile1 "${testfile}1.o" +set objfile2 "${testfile}2.o" +set objfile3 "${testfile}3.o" set binfile "${objdir}/${subdir}/${testfile}" -if { [gdb_compile "${srcfile}" "${objfile}" object {debug c++}] != "" } { +if { [gdb_compile "$srcdir/$subdir/$srcfile" "$objdir/$subdir/$objfile" object {debug c++}] != "" } { gdb_suppress_entire_file "Testcase compile failed, so all tests in this file will automatically fail." } -if { [gdb_compile "${srcfile1}" "${objfile1}" object {debug c++}] != "" } { +if { [gdb_compile "$srcdir/$subdir/$srcfile1" "$objdir/$subdir/$objfile1" object {debug c++}] != "" } { gdb_suppress_entire_file "Testcase compile failed, so all tests in this file will automatically fail." } -if { [gdb_compile "${srcfile2}" "${objfile2}" object {debug c++}] != "" } { +if { [gdb_compile "$srcdir/$subdir/$srcfile2" "$objdir/$subdir/$objfile2" object {debug c++}] != "" } { gdb_suppress_entire_file "Testcase compile failed, so all tests in this file will automatically fail." } -if { [gdb_compile "${srcfile3}" "${objfile3}" object {debug c++}] != "" } { +if { [gdb_compile "$srcdir/$subdir/$srcfile3" "$objdir/$subdir/$objfile3" object {debug c++}] != "" } { gdb_suppress_entire_file "Testcase compile failed, so all tests in this file will automatically fail." } -if { [gdb_compile "${objfile} ${objfile1} ${objfile2} ${objfile3}" "${binfile}" executable {debug c++}] != "" } { +if { [gdb_compile "$objdir/$subdir/$objfile $objdir/$subdir/$objfile1 $objdir/$subdir/$objfile2 $objdir/$subdir/$objfile3" "${binfile}" executable {debug c++}] != "" } { gdb_suppress_entire_file "Testcase compile failed, so all tests in this file will automatically fail." } |