]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
gdb/testsuite: disable charset.exp for intel compilers
authorNils-Christian Kempke <nils-christian.kempke@intel.com>
Tue, 31 May 2022 14:43:44 +0000 (16:43 +0200)
committerNils-Christian Kempke <nils-christian.kempke@intel.com>
Tue, 31 May 2022 14:44:54 +0000 (16:44 +0200)
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

index 5e4ba592cc1f72d559f118184fdb329968b499a3..ae3e34ce1c793ec2220b0905db1389c9246c5b9e 100644 (file)
@@ -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
 }