From 87364601b87da148b9c4b96aa164e329794c2959 Mon Sep 17 00:00:00 2001 From: Nils-Christian Kempke Date: Tue, 31 May 2022 16:43:44 +0200 Subject: [PATCH] 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. --- gdb/testsuite/gdb.fortran/charset.exp | 5 +++++ 1 file changed, 5 insertions(+) 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 } -- 2.30.2