diff options
Diffstat (limited to 'gdb/testsuite/gdb.ada/fixed_points.exp')
-rw-r--r-- | gdb/testsuite/gdb.ada/fixed_points.exp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gdb/testsuite/gdb.ada/fixed_points.exp b/gdb/testsuite/gdb.ada/fixed_points.exp index 1a288c7..b9c25ec 100644 --- a/gdb/testsuite/gdb.ada/fixed_points.exp +++ b/gdb/testsuite/gdb.ada/fixed_points.exp @@ -21,16 +21,14 @@ if $tracelevel then { load_lib "ada.exp" -if { [skip_ada_tests] } { return -1 } - set testdir "fixed_points" set testfile "${testdir}/fixed_points" set srcfile ${srcdir}/${subdir}/${testfile}.adb set binfile ${objdir}/${subdir}/${testfile} file mkdir ${objdir}/${subdir}/${testdir} -if {[gdb_compile_ada "${srcfile}" "${binfile}" executable {debug}] != ""} { - return -1 +if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug ]] != "" } { + return -1 } gdb_exit |