diff options
author | Nathan Sidwell <nathan@codesourcery.com> | 2007-01-12 11:36:21 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@codesourcery.com> | 2007-01-12 11:36:21 +0000 |
commit | 81d2cbae4501f0027f5d3a6a7e346cbf20800337 (patch) | |
tree | ab9c49d66e23d304339f86835593243c17244db0 /gdb/testsuite/gdb.fortran | |
parent | 465e5617233fc7b7278fe82fddeb6f19064c7338 (diff) | |
download | gdb-81d2cbae4501f0027f5d3a6a7e346cbf20800337.zip gdb-81d2cbae4501f0027f5d3a6a7e346cbf20800337.tar.gz gdb-81d2cbae4501f0027f5d3a6a7e346cbf20800337.tar.bz2 |
revert 2007-01-11 Nathan Sidwell <nathan@codesourcery.com>
* 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.fortran')
-rw-r--r-- | gdb/testsuite/gdb.fortran/array-element.exp | 6 | ||||
-rw-r--r-- | gdb/testsuite/gdb.fortran/derived-type.exp | 6 | ||||
-rw-r--r-- | gdb/testsuite/gdb.fortran/exprs.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.fortran/subarray.exp | 6 | ||||
-rw-r--r-- | gdb/testsuite/gdb.fortran/types.exp | 2 |
5 files changed, 6 insertions, 16 deletions
diff --git a/gdb/testsuite/gdb.fortran/array-element.exp b/gdb/testsuite/gdb.fortran/array-element.exp index 8e7d59c..2e9c914 100644 --- a/gdb/testsuite/gdb.fortran/array-element.exp +++ b/gdb/testsuite/gdb.fortran/array-element.exp @@ -23,14 +23,12 @@ if $tracelevel then { strace $tracelevel } -if { [skip_fortran_tests] } { return -1 } - set testfile "array-element" set srcfile ${testfile}.f set binfile ${objdir}/${subdir}/${testfile} -if {[gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" \ - executable {debug f77}] != ""} { +if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug f77 quiet}] != "" } { + untested "Couldn't compile ${srcfile}" return -1 } diff --git a/gdb/testsuite/gdb.fortran/derived-type.exp b/gdb/testsuite/gdb.fortran/derived-type.exp index 98b63f6..8e053ab 100644 --- a/gdb/testsuite/gdb.fortran/derived-type.exp +++ b/gdb/testsuite/gdb.fortran/derived-type.exp @@ -23,14 +23,12 @@ if $tracelevel then { strace $tracelevel } -if { [skip_fortran_tests] } { return -1 } - set testfile "derived-type" set srcfile ${testfile}.f90 set binfile ${objdir}/${subdir}/${testfile} -if {[gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" \ - executable {debug f77}] != ""} { +if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug f77 quiet}] != "" } { + untested "Couldn't compile ${srcfile}" return -1 } diff --git a/gdb/testsuite/gdb.fortran/exprs.exp b/gdb/testsuite/gdb.fortran/exprs.exp index fa77d0e..fa8385c 100644 --- a/gdb/testsuite/gdb.fortran/exprs.exp +++ b/gdb/testsuite/gdb.fortran/exprs.exp @@ -24,8 +24,6 @@ if $tracelevel then { strace $tracelevel } -if { [skip_fortran_tests] } { continue } - set prms_id 0 set bug_id 0 diff --git a/gdb/testsuite/gdb.fortran/subarray.exp b/gdb/testsuite/gdb.fortran/subarray.exp index adb7560..fb5ddb5 100644 --- a/gdb/testsuite/gdb.fortran/subarray.exp +++ b/gdb/testsuite/gdb.fortran/subarray.exp @@ -23,14 +23,12 @@ if $tracelevel then { strace $tracelevel } -if { [skip_fortran_tests] } { return -1 } - set testfile "subarray" set srcfile ${testfile}.f set binfile ${objdir}/${subdir}/${testfile} -if {[gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" \ - executable {debug f77}] != ""} { +if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug f77 quiet}] != "" } { + untested "Couldn't compile ${srcfile}" return -1 } diff --git a/gdb/testsuite/gdb.fortran/types.exp b/gdb/testsuite/gdb.fortran/types.exp index 9ca4790..e18b76e 100644 --- a/gdb/testsuite/gdb.fortran/types.exp +++ b/gdb/testsuite/gdb.fortran/types.exp @@ -24,8 +24,6 @@ if $tracelevel then { strace $tracelevel } -if { [skip_fortran_tests] } { continue } - set prms_id 0 set bug_id 0 |