From: Nils-Christian Kempke Date: Tue, 31 May 2022 14:43:44 +0000 (+0200) Subject: gdb/testsuite: disable charset.exp for intel compilers X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=87364601b87da148b9c4b96aa164e329794c2959;p=binutils-gdb.git 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. --- diff --git a/gdb/testsuite/gdb.fortran/charset.exp b/gdb/testsuite/gdb.fortran/charset.exp index 5e4ba592cc1..ae3e34ce1c7 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 }