public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/aoliva/heads/testme)] [testsuite] [ppc] skip ppc-fortran if fortran is disabled
@ 2023-04-06  6:35 Alexandre Oliva
  0 siblings, 0 replies; 5+ messages in thread
From: Alexandre Oliva @ 2023-04-06  6:35 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:387fb36dd05d2c1d138ec513cef9dbc617ab0e56

commit 387fb36dd05d2c1d138ec513cef9dbc617ab0e56
Author: Alexandre Oliva <oliva@adacore.com>
Date:   Wed Apr 5 11:27:26 2023 -0300

    [testsuite] [ppc] skip ppc-fortran if fortran is disabled
    
    Skip ppc-fortran.exp if a trivial fortran program cannot be compiled.
    
    
    for  gcc/testsuite/ChangeLog
    
            * gcc.target/powerpc/ppc-fortran/ppc-fortran.exp: Test for
            fortran compiler, skip if missing.

Diff:
---
 gcc/testsuite/gcc.target/powerpc/ppc-fortran/ppc-fortran.exp | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/gcc/testsuite/gcc.target/powerpc/ppc-fortran/ppc-fortran.exp b/gcc/testsuite/gcc.target/powerpc/ppc-fortran/ppc-fortran.exp
index f7e99ac8487..d05c27ab589 100644
--- a/gcc/testsuite/gcc.target/powerpc/ppc-fortran/ppc-fortran.exp
+++ b/gcc/testsuite/gcc.target/powerpc/ppc-fortran/ppc-fortran.exp
@@ -33,6 +33,15 @@ if ![info exists DEFAULT_FFLAGS] then {
 # Initialize `dg'.
 dg-init
 
+if { ![check_no_compiler_messages fortran_available assembly {
+! Fortran
+program P
+  stop
+end program P
+} ""] } {
+    return
+}
+
 global gfortran_test_path
 global gfortran_aux_module_flags
 set gfortran_test_path $srcdir/$subdir

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [gcc(refs/users/aoliva/heads/testme)] [testsuite] [ppc] skip ppc-fortran if fortran is disabled
@ 2023-04-07  3:37 Alexandre Oliva
  0 siblings, 0 replies; 5+ messages in thread
From: Alexandre Oliva @ 2023-04-07  3:37 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:18f67234d24b449cdb90d53cb544e02165126005

commit 18f67234d24b449cdb90d53cb544e02165126005
Author: Alexandre Oliva <oliva@adacore.com>
Date:   Wed Apr 5 11:27:26 2023 -0300

    [testsuite] [ppc] skip ppc-fortran if fortran is disabled
    
    Skip ppc-fortran.exp if a trivial fortran program cannot be compiled.
    
    
    for  gcc/testsuite/ChangeLog
    
            * gcc.target/powerpc/ppc-fortran/ppc-fortran.exp: Test for
            fortran compiler, skip if missing.

Diff:
---
 gcc/testsuite/gcc.target/powerpc/ppc-fortran/ppc-fortran.exp | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/gcc/testsuite/gcc.target/powerpc/ppc-fortran/ppc-fortran.exp b/gcc/testsuite/gcc.target/powerpc/ppc-fortran/ppc-fortran.exp
index f7e99ac8487..f7b7c05487c 100644
--- a/gcc/testsuite/gcc.target/powerpc/ppc-fortran/ppc-fortran.exp
+++ b/gcc/testsuite/gcc.target/powerpc/ppc-fortran/ppc-fortran.exp
@@ -21,6 +21,16 @@ if { ![istarget powerpc*-*-*] && ![istarget rs6000-*-*] } then {
   return
 }
 
+# Make sure there is a fortran compiler to test.
+if { ![check_no_compiler_messages fortran_available assembly {
+! Fortran
+program P
+  stop
+end program P
+} ""] } {
+    return
+}
+
 # Load support procs.
 load_lib gfortran-dg.exp

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [gcc(refs/users/aoliva/heads/testme)] [testsuite] [ppc] skip ppc-fortran if fortran is disabled
@ 2023-03-30 14:08 Alexandre Oliva
  0 siblings, 0 replies; 5+ messages in thread
From: Alexandre Oliva @ 2023-03-30 14:08 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:1c6f5485f89a4df261f9d5748e62165e1635e175

commit 1c6f5485f89a4df261f9d5748e62165e1635e175
Author: Alexandre Oliva <oliva@adacore.com>
Date:   Thu Mar 30 05:07:27 2023 -0300

    [testsuite] [ppc] skip ppc-fortran if fortran is disabled
    
    Skip ppc-fortran.exp if a trivial fortran program cannot be compiled.
    
    
    for  gcc/testsuite/ChangeLog
    
            * gcc.target/powerpc/ppc-fortran/ppc-fortran.exp: Test for
            fortran compiler, skip if missing.

Diff:
---
 gcc/testsuite/gcc.target/powerpc/ppc-fortran/ppc-fortran.exp | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/gcc/testsuite/gcc.target/powerpc/ppc-fortran/ppc-fortran.exp b/gcc/testsuite/gcc.target/powerpc/ppc-fortran/ppc-fortran.exp
index f7e99ac8487..d05c27ab589 100644
--- a/gcc/testsuite/gcc.target/powerpc/ppc-fortran/ppc-fortran.exp
+++ b/gcc/testsuite/gcc.target/powerpc/ppc-fortran/ppc-fortran.exp
@@ -33,6 +33,15 @@ if ![info exists DEFAULT_FFLAGS] then {
 # Initialize `dg'.
 dg-init
 
+if { ![check_no_compiler_messages fortran_available assembly {
+! Fortran
+program P
+  stop
+end program P
+} ""] } {
+    return
+}
+
 global gfortran_test_path
 global gfortran_aux_module_flags
 set gfortran_test_path $srcdir/$subdir

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [gcc(refs/users/aoliva/heads/testme)] [testsuite] [ppc] skip ppc-fortran if fortran is disabled
@ 2023-03-25 14:53 Alexandre Oliva
  0 siblings, 0 replies; 5+ messages in thread
From: Alexandre Oliva @ 2023-03-25 14:53 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:fbc083a4d599eeecd7531b2cd4ee4030d33f5fcf

commit fbc083a4d599eeecd7531b2cd4ee4030d33f5fcf
Author: Alexandre Oliva <oliva@adacore.com>
Date:   Fri Mar 24 02:56:59 2023 -0300

    [testsuite] [ppc] skip ppc-fortran if fortran is disabled
    
    Skip ppc-fortran.exp if a trivial fortran program cannot be compiled.
    
    
    for  gcc/testsuite/ChangeLog
    
            * gcc.target/powerpc/ppc-fortran/ppc-fortran.exp: Test for
            fortran compiler, skip if missing.

Diff:
---
 gcc/testsuite/gcc.target/powerpc/ppc-fortran/ppc-fortran.exp | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/gcc/testsuite/gcc.target/powerpc/ppc-fortran/ppc-fortran.exp b/gcc/testsuite/gcc.target/powerpc/ppc-fortran/ppc-fortran.exp
index f7e99ac8487..d05c27ab589 100644
--- a/gcc/testsuite/gcc.target/powerpc/ppc-fortran/ppc-fortran.exp
+++ b/gcc/testsuite/gcc.target/powerpc/ppc-fortran/ppc-fortran.exp
@@ -33,6 +33,15 @@ if ![info exists DEFAULT_FFLAGS] then {
 # Initialize `dg'.
 dg-init
 
+if { ![check_no_compiler_messages fortran_available assembly {
+! Fortran
+program P
+  stop
+end program P
+} ""] } {
+    return
+}
+
 global gfortran_test_path
 global gfortran_aux_module_flags
 set gfortran_test_path $srcdir/$subdir

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [gcc(refs/users/aoliva/heads/testme)] [testsuite] [ppc] skip ppc-fortran if fortran is disabled
@ 2023-03-24  6:25 Alexandre Oliva
  0 siblings, 0 replies; 5+ messages in thread
From: Alexandre Oliva @ 2023-03-24  6:25 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:53eefcaf06d9fbfe7a4fe70d839d41f28afe61c4

commit 53eefcaf06d9fbfe7a4fe70d839d41f28afe61c4
Author: Alexandre Oliva <oliva@adacore.com>
Date:   Fri Mar 24 02:56:59 2023 -0300

    [testsuite] [ppc] skip ppc-fortran if fortran is disabled
    
    Skip ppc-fortran.exp if a trivial fortran program cannot be compiled.
    
    
    for  gcc/testsuite/ChangeLog
    
            * gcc.target/powerpc/ppc-fortran/ppc-fortran.exp: Test for
            fortran compiler, skip if missing.

Diff:
---
 gcc/testsuite/gcc.target/powerpc/ppc-fortran/ppc-fortran.exp | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/gcc/testsuite/gcc.target/powerpc/ppc-fortran/ppc-fortran.exp b/gcc/testsuite/gcc.target/powerpc/ppc-fortran/ppc-fortran.exp
index f7e99ac8487..0c10a5f1461 100644
--- a/gcc/testsuite/gcc.target/powerpc/ppc-fortran/ppc-fortran.exp
+++ b/gcc/testsuite/gcc.target/powerpc/ppc-fortran/ppc-fortran.exp
@@ -33,6 +33,14 @@ if ![info exists DEFAULT_FFLAGS] then {
 # Initialize `dg'.
 dg-init
 
+if { ![check_no_compiler_messages fortran_available assembly {
+program P
+  stop
+end program P
+} ""] } {
+    return
+}
+
 global gfortran_test_path
 global gfortran_aux_module_flags
 set gfortran_test_path $srcdir/$subdir

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-04-07  3:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-06  6:35 [gcc(refs/users/aoliva/heads/testme)] [testsuite] [ppc] skip ppc-fortran if fortran is disabled Alexandre Oliva
  -- strict thread matches above, loose matches on Subject: below --
2023-04-07  3:37 Alexandre Oliva
2023-03-30 14:08 Alexandre Oliva
2023-03-25 14:53 Alexandre Oliva
2023-03-24  6:25 Alexandre Oliva

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).