aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.ada/fixed_points.exp
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2007-01-11 11:42:45 +0000
committerNathan Sidwell <nathan@codesourcery.com>2007-01-11 11:42:45 +0000
commit147d6f8fa084b39dbf3e08ebd9f18e415be6c1ea (patch)
tree2b6413cbe97e222733b22fb32b2407817f21f659 /gdb/testsuite/gdb.ada/fixed_points.exp
parent4b900473782ef959bcc04522b8d1ac66e0acd479 (diff)
downloadgdb-147d6f8fa084b39dbf3e08ebd9f18e415be6c1ea.zip
gdb-147d6f8fa084b39dbf3e08ebd9f18e415be6c1ea.tar.gz
gdb-147d6f8fa084b39dbf3e08ebd9f18e415be6c1ea.tar.bz2
* lib/gdb.exp (gdb_compile_test): New.
(skip_ada_tests, skip_java_tests): New. (gdb_compile): Use gdb_compile_test for f77. * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result. * lib/java.exp (compile_java_from_source): Remove runtests check, use gdb_compile_test to record result. * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp, gdb.ada/exec_changed.exp, gdb.ada/start.exp, gdb.ada/watch_arg.exp, gdb.ada/null_record.exp, gdb.ada/array_return.exp, gdb.ada/arrayidx.exp, gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp, gdb.fortran/array-element.exp, gdb.fortran/subarray.exp, gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp, gdb.java/jmisc.exp, gdb.java/jprint.exp, gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip, adjust gdb_compile invocations.
Diffstat (limited to 'gdb/testsuite/gdb.ada/fixed_points.exp')
-rw-r--r--gdb/testsuite/gdb.ada/fixed_points.exp6
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.ada/fixed_points.exp b/gdb/testsuite/gdb.ada/fixed_points.exp
index b9c25ec..1a288c7 100644
--- a/gdb/testsuite/gdb.ada/fixed_points.exp
+++ b/gdb/testsuite/gdb.ada/fixed_points.exp
@@ -21,14 +21,16 @@ 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 [list debug ]] != "" } {
- return -1
+if {[gdb_compile_ada "${srcfile}" "${binfile}" executable {debug}] != ""} {
+ return -1
}
gdb_exit