* gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
provide DFP support.
This commit is contained in:
parent
8cff2ae624
commit
ae0d01ff0c
2 changed files with 9 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
|
||||
|
||||
* gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
|
||||
provide DFP support.
|
||||
|
||||
2007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
|
||||
|
||||
* gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
|
||||
|
|
|
@ -116,8 +116,10 @@ if $tracelevel {
|
|||
set testfile "dfp-test"
|
||||
set srcfile ${testfile}.c
|
||||
set binfile ${objdir}/${subdir}/${testfile}
|
||||
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable "debug"] != "" } {
|
||||
untested "Couldn't compile ${srcfile}"
|
||||
# Try to compile the test case. If we can't, assume the
|
||||
# toolchain does not yet provide DFP support and bail out.
|
||||
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {quiet debug}] != "" } {
|
||||
verbose "Skipping DFP tests."
|
||||
return -1
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue