public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] gdb/testsuite: disable charset.exp for intel compilers
@ 2022-05-31 14:45 Nils-Christian Kempke
  0 siblings, 0 replies; only message in thread
From: Nils-Christian Kempke @ 2022-05-31 14:45 UTC (permalink / raw)
  To: gdb-cvs

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=87364601b87da148b9c4b96aa164e329794c2959

commit 87364601b87da148b9c4b96aa164e329794c2959
Author: Nils-Christian Kempke <nils-christian.kempke@intel.com>
Date:   Tue May 31 16:43:44 2022 +0200

    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:
---
 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
 }


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-05-31 14:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-31 14:45 [binutils-gdb] gdb/testsuite: disable charset.exp for intel compilers Nils-Christian Kempke

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).