diff options
author | Pedro Alves <pedro@palves.net> | 2020-08-13 17:41:28 +0100 |
---|---|---|
committer | Pedro Alves <pedro@palves.net> | 2020-08-13 18:12:27 +0100 |
commit | a54a7f13f3c98a6e6a865a9973958ac083e702ad (patch) | |
tree | 37dd8639811080dc7c3dd8f40d144519c62a8bd0 /gdb/testsuite/gdb.fortran | |
parent | 7a82e90312d7a474f773fbcc58f6f215cacd945f (diff) | |
download | gdb-a54a7f13f3c98a6e6a865a9973958ac083e702ad.zip gdb-a54a7f13f3c98a6e6a865a9973958ac083e702ad.tar.gz gdb-a54a7f13f3c98a6e6a865a9973958ac083e702ad.tar.bz2 |
Add skip_fortran_tests to more Fortran testcases
This adds missing skip_fortran_tests checks to Fortran testcases,
using the exact same pattern the existing files that do check it use.
gdb/testsuite/ChangeLog:
* gdb.fortran/complex.exp: Check skip_fortran_tests.
* gdb.fortran/library-module.exp: Likewise.
* gdb.fortran/logical.exp: Likewise.
* gdb.fortran/module.exp: Likewise.
* gdb.fortran/print_type.exp: Likewise.
* gdb.fortran/vla-alloc-assoc.exp: Likewise.
* gdb.fortran/vla-datatypes.exp: Likewise.
* gdb.fortran/vla-history.exp: Likewise.
* gdb.fortran/vla-ptr-info.exp: Likewise.
* gdb.fortran/vla-ptype-sub.exp: Likewise.
* gdb.fortran/vla-ptype.exp: Likewise.
* gdb.fortran/vla-sizeof.exp: Likewise.
* gdb.fortran/vla-type.exp: Likewise.
* gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
* gdb.fortran/vla-value-sub-finish.exp: Likewise.
* gdb.fortran/vla-value-sub.exp: Likewise.
* gdb.fortran/vla-value.exp: Likewise.
Diffstat (limited to 'gdb/testsuite/gdb.fortran')
-rw-r--r-- | gdb/testsuite/gdb.fortran/complex.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.fortran/library-module.exp | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.fortran/logical.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.fortran/module.exp | 2 | ||||
-rwxr-xr-x | gdb/testsuite/gdb.fortran/print_type.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.fortran/vla-alloc-assoc.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.fortran/vla-datatypes.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.fortran/vla-history.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.fortran/vla-ptr-info.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.fortran/vla-ptype-sub.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.fortran/vla-ptype.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.fortran/vla-sizeof.exp | 2 | ||||
-rwxr-xr-x | gdb/testsuite/gdb.fortran/vla-type.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.fortran/vla-value-sub-arbitrary.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.fortran/vla-value-sub-finish.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.fortran/vla-value-sub.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.fortran/vla-value.exp | 2 |
17 files changed, 36 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.fortran/complex.exp b/gdb/testsuite/gdb.fortran/complex.exp index f1e754e..1faed2a 100644 --- a/gdb/testsuite/gdb.fortran/complex.exp +++ b/gdb/testsuite/gdb.fortran/complex.exp @@ -16,6 +16,8 @@ standard_testfile .f90 load_lib fortran.exp +if {[skip_fortran_tests]} { return -1 } + if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug f90 quiet}]} { return -1 } diff --git a/gdb/testsuite/gdb.fortran/library-module.exp b/gdb/testsuite/gdb.fortran/library-module.exp index 8254fcf..d2013e1 100644 --- a/gdb/testsuite/gdb.fortran/library-module.exp +++ b/gdb/testsuite/gdb.fortran/library-module.exp @@ -13,6 +13,10 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. +load_lib fortran.exp + +if {[skip_fortran_tests]} { return -1 } + standard_testfile library-module-main.f90 set srclibfile ${testfile}-lib.f90 set libfile [standard_output_file ${testfile}-lib.so] @@ -40,7 +44,6 @@ if { [gdb_compile $srcdir/$subdir/$srcfile $binfile executable [list debug f90 clean_restart $testfile gdb_load_shlib $libfile -load_lib fortran.exp if ![fortran_runto_main] then { perror "couldn't run to main" diff --git a/gdb/testsuite/gdb.fortran/logical.exp b/gdb/testsuite/gdb.fortran/logical.exp index 161bbdd..6e22a25 100644 --- a/gdb/testsuite/gdb.fortran/logical.exp +++ b/gdb/testsuite/gdb.fortran/logical.exp @@ -18,6 +18,8 @@ standard_testfile .f90 load_lib fortran.exp +if {[skip_fortran_tests]} { return -1 } + if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug f90 quiet}]} { return -1 } diff --git a/gdb/testsuite/gdb.fortran/module.exp b/gdb/testsuite/gdb.fortran/module.exp index 4a8251c..72e6a3a 100644 --- a/gdb/testsuite/gdb.fortran/module.exp +++ b/gdb/testsuite/gdb.fortran/module.exp @@ -15,6 +15,8 @@ load_lib "fortran.exp" +if {[skip_fortran_tests]} { return -1 } + standard_testfile .f90 if { [prepare_for_testing "failed to prepare" $testfile $srcfile {debug f90}] } { diff --git a/gdb/testsuite/gdb.fortran/print_type.exp b/gdb/testsuite/gdb.fortran/print_type.exp index fcedb95..14ddc04 100755 --- a/gdb/testsuite/gdb.fortran/print_type.exp +++ b/gdb/testsuite/gdb.fortran/print_type.exp @@ -19,6 +19,8 @@ standard_testfile "pointers.f90" load_lib fortran.exp +if {[skip_fortran_tests]} { return -1 } + if { [prepare_for_testing ${testfile}.exp ${testfile} ${srcfile} \ {debug f90 quiet}] } { return -1 diff --git a/gdb/testsuite/gdb.fortran/vla-alloc-assoc.exp b/gdb/testsuite/gdb.fortran/vla-alloc-assoc.exp index 2ae0411..e8e1e85 100644 --- a/gdb/testsuite/gdb.fortran/vla-alloc-assoc.exp +++ b/gdb/testsuite/gdb.fortran/vla-alloc-assoc.exp @@ -16,6 +16,8 @@ standard_testfile "vla.f90" load_lib fortran.exp +if {[skip_fortran_tests]} { return -1 } + if { [prepare_for_testing "failed to prepare" ${testfile} ${srcfile} \ {debug f90 quiet}] } { return -1 diff --git a/gdb/testsuite/gdb.fortran/vla-datatypes.exp b/gdb/testsuite/gdb.fortran/vla-datatypes.exp index b69636f..8a199d4 100644 --- a/gdb/testsuite/gdb.fortran/vla-datatypes.exp +++ b/gdb/testsuite/gdb.fortran/vla-datatypes.exp @@ -16,6 +16,8 @@ standard_testfile ".f90" load_lib "fortran.exp" +if {[skip_fortran_tests]} { return -1 } + if { [prepare_for_testing "failed to prepare" ${testfile} ${srcfile} \ {debug f90 quiet}] } { return -1 diff --git a/gdb/testsuite/gdb.fortran/vla-history.exp b/gdb/testsuite/gdb.fortran/vla-history.exp index 3bf98db..093e107 100644 --- a/gdb/testsuite/gdb.fortran/vla-history.exp +++ b/gdb/testsuite/gdb.fortran/vla-history.exp @@ -16,6 +16,8 @@ standard_testfile "vla.f90" load_lib fortran.exp +if {[skip_fortran_tests]} { return -1 } + if { [prepare_for_testing "failed to prepare" ${testfile} ${srcfile} \ {debug f90 quiet}] } { return -1 diff --git a/gdb/testsuite/gdb.fortran/vla-ptr-info.exp b/gdb/testsuite/gdb.fortran/vla-ptr-info.exp index d3fa595..bfc1184 100644 --- a/gdb/testsuite/gdb.fortran/vla-ptr-info.exp +++ b/gdb/testsuite/gdb.fortran/vla-ptr-info.exp @@ -16,6 +16,8 @@ standard_testfile "vla.f90" load_lib fortran.exp +if {[skip_fortran_tests]} { return -1 } + if { [prepare_for_testing "failed to prepare" ${testfile} ${srcfile} \ {debug f90 quiet}] } { return -1 diff --git a/gdb/testsuite/gdb.fortran/vla-ptype-sub.exp b/gdb/testsuite/gdb.fortran/vla-ptype-sub.exp index 07a4a5f..192b582 100644 --- a/gdb/testsuite/gdb.fortran/vla-ptype-sub.exp +++ b/gdb/testsuite/gdb.fortran/vla-ptype-sub.exp @@ -16,6 +16,8 @@ standard_testfile "vla-sub.f90" load_lib "fortran.exp" +if {[skip_fortran_tests]} { return -1 } + if { [prepare_for_testing "failed to prepare" ${testfile} ${srcfile} \ {debug f90 quiet}] } { return -1 diff --git a/gdb/testsuite/gdb.fortran/vla-ptype.exp b/gdb/testsuite/gdb.fortran/vla-ptype.exp index bbb81ea..cc768a7 100644 --- a/gdb/testsuite/gdb.fortran/vla-ptype.exp +++ b/gdb/testsuite/gdb.fortran/vla-ptype.exp @@ -16,6 +16,8 @@ standard_testfile "vla.f90" load_lib "fortran.exp" +if {[skip_fortran_tests]} { return -1 } + if { [prepare_for_testing "failed to prepare" ${testfile} ${srcfile} \ {debug f90 quiet}] } { return -1 diff --git a/gdb/testsuite/gdb.fortran/vla-sizeof.exp b/gdb/testsuite/gdb.fortran/vla-sizeof.exp index d26b8c6..04296ac 100644 --- a/gdb/testsuite/gdb.fortran/vla-sizeof.exp +++ b/gdb/testsuite/gdb.fortran/vla-sizeof.exp @@ -16,6 +16,8 @@ standard_testfile "vla.f90" load_lib fortran.exp +if {[skip_fortran_tests]} { return -1 } + if { [prepare_for_testing "failed to prepare" ${testfile} ${srcfile} \ {debug f90 quiet}] } { return -1 diff --git a/gdb/testsuite/gdb.fortran/vla-type.exp b/gdb/testsuite/gdb.fortran/vla-type.exp index f007ea3..925c583 100755 --- a/gdb/testsuite/gdb.fortran/vla-type.exp +++ b/gdb/testsuite/gdb.fortran/vla-type.exp @@ -16,6 +16,8 @@ standard_testfile ".f90" load_lib "fortran.exp" +if {[skip_fortran_tests]} { return -1 } + if { [prepare_for_testing "failed to prepare" ${testfile} ${srcfile} \ {debug f90 quiet}] } { return -1 diff --git a/gdb/testsuite/gdb.fortran/vla-value-sub-arbitrary.exp b/gdb/testsuite/gdb.fortran/vla-value-sub-arbitrary.exp index c3ed909..99b8fd7 100644 --- a/gdb/testsuite/gdb.fortran/vla-value-sub-arbitrary.exp +++ b/gdb/testsuite/gdb.fortran/vla-value-sub-arbitrary.exp @@ -16,6 +16,8 @@ standard_testfile "vla-sub.f90" load_lib fortran.exp +if {[skip_fortran_tests]} { return -1 } + if { [prepare_for_testing "failed to prepare" ${testfile} ${srcfile} \ {debug f90 quiet}] } { return -1 diff --git a/gdb/testsuite/gdb.fortran/vla-value-sub-finish.exp b/gdb/testsuite/gdb.fortran/vla-value-sub-finish.exp index 403e411..cd446e1 100644 --- a/gdb/testsuite/gdb.fortran/vla-value-sub-finish.exp +++ b/gdb/testsuite/gdb.fortran/vla-value-sub-finish.exp @@ -16,6 +16,8 @@ standard_testfile "vla-sub.f90" load_lib fortran.exp +if {[skip_fortran_tests]} { return -1 } + if { [prepare_for_testing "failed to prepare" ${testfile} ${srcfile} \ {debug f90 quiet}] } { return -1 diff --git a/gdb/testsuite/gdb.fortran/vla-value-sub.exp b/gdb/testsuite/gdb.fortran/vla-value-sub.exp index fd923ed..b22d7df 100644 --- a/gdb/testsuite/gdb.fortran/vla-value-sub.exp +++ b/gdb/testsuite/gdb.fortran/vla-value-sub.exp @@ -16,6 +16,8 @@ standard_testfile "vla-sub.f90" load_lib fortran.exp +if {[skip_fortran_tests]} { return -1 } + if { [prepare_for_testing "failed to prepare" ${testfile} ${srcfile} \ {debug f90 quiet}] } { return -1 diff --git a/gdb/testsuite/gdb.fortran/vla-value.exp b/gdb/testsuite/gdb.fortran/vla-value.exp index 9a727fc..be0a2d4 100644 --- a/gdb/testsuite/gdb.fortran/vla-value.exp +++ b/gdb/testsuite/gdb.fortran/vla-value.exp @@ -16,6 +16,8 @@ standard_testfile "vla.f90" load_lib "fortran.exp" +if {[skip_fortran_tests]} { return -1 } + if { [prepare_for_testing "failed to prepare" ${testfile} ${srcfile} \ {debug f90 quiet}] } { return -1 |