diff options
author | Nils-Christian Kempke <nils-christian.kempke@intel.com> | 2022-05-31 16:43:44 +0200 |
---|---|---|
committer | Nils-Christian Kempke <nils-christian.kempke@intel.com> | 2022-05-31 16:44:54 +0200 |
commit | 87364601b87da148b9c4b96aa164e329794c2959 (patch) | |
tree | 58a8cb22fb4cc0293006399f3831edb7b66ca686 /gdb/testsuite | |
parent | 22582546c1833f771cea1201a75315df6dab0a34 (diff) | |
download | gdb-87364601b87da148b9c4b96aa164e329794c2959.zip gdb-87364601b87da148b9c4b96aa164e329794c2959.tar.gz gdb-87364601b87da148b9c4b96aa164e329794c2959.tar.bz2 |
gdb/testsuite: disable charset.exp for intel compilers
The test specifically tests for the Fortran CHARACTER(KIND=4) which is
not available in ifx/ifort.
Since the other characters are also printed elsewhere, we disable this
test for the unsupported compilers.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r-- | gdb/testsuite/gdb.fortran/charset.exp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.fortran/charset.exp b/gdb/testsuite/gdb.fortran/charset.exp index 5e4ba59..ae3e34c 100644 --- a/gdb/testsuite/gdb.fortran/charset.exp +++ b/gdb/testsuite/gdb.fortran/charset.exp @@ -21,6 +21,11 @@ if { [skip_fortran_tests] } { return -1 } standard_testfile .f90 load_lib fortran.exp +# Ifx, and ifort do not support kind=4 for CHARACTER. +if { [test_compiler_info {ifx-*} f90] || [test_compiler_info {ifort-*} f90] } { + return -1 +} + if { [prepare_for_testing "failed to prepare" ${testfile} ${srcfile} {debug additional_flags=-fbackslash f90}] } { return -1 } |