From: Stefano Lattarini Date: Sun, 29 May 2011 16:13:11 +0000 (+0200) Subject: tests: don't require gfortran if any fortran compiler is enough X-Git-Tag: ng-0.5a~89^2~218 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e5699648000facb8138b594fe271fbb27296fb72;p=thirdparty%2Fautomake.git tests: don't require gfortran if any fortran compiler is enough * tests/silentf90.test ($required): Require `fortran', not `gfortran'. * tests/silentf77.test ($required): Require `fortran77', not `gfortran'. * tests/silent-many-generic.test ($required): Require `fortran' and `fortran77' rather than `gfortran'. --- diff --git a/ChangeLog b/ChangeLog index 80b3c500f..08ae5da89 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2011-05-29 Stefano Lattarini + + tests: don't require gfortran if any fortran compiler is enough + * tests/silentf90.test ($required): Require `fortran', not + `gfortran'. + * tests/silentf77.test ($required): Require `fortran77', not + `gfortran'. + * tests/silent-many-generic.test ($required): Require `fortran' + and `fortran77' rather than `gfortran'. + 2011-05-27 Stefano Lattarini tests: improve `ccnoco*.test', better cross-compiling support diff --git a/tests/silent-many-generic.test b/tests/silent-many-generic.test index c81f52c88..7d615acb5 100755 --- a/tests/silent-many-generic.test +++ b/tests/silent-many-generic.test @@ -22,8 +22,7 @@ # sister test `silent-many-gcc.test', which requires the GNU compilers # and forces the use of gcc depmode. -# FIXME: generic Fortran compilers should suffice here -required='cc c++ gfortran flex yacc' +required='cc c++ fortran fortran77 flex yacc' . ./defs || Exit 1 # Avoids too much code duplication. diff --git a/tests/silentf77.test b/tests/silentf77.test index 75d5777b2..90a8208a3 100755 --- a/tests/silentf77.test +++ b/tests/silentf77.test @@ -17,7 +17,7 @@ # Check silent-rules mode for Fortran 77. # Keep this ins sync with the sister test silentf90.test. -required='gfortran' # FIXME: any working Fortran compiler should be OK! +required=fortran77 . ./defs || Exit 1 mkdir sub diff --git a/tests/silentf90.test b/tests/silentf90.test index c85f78f7c..6a561756e 100755 --- a/tests/silentf90.test +++ b/tests/silentf90.test @@ -17,7 +17,7 @@ # Check silent-rules mode for Fortran 90. # Keep this ins sync with the sister test silentf77.test. -required='gfortran' # FIXME: any working Fortran compiler should be OK! +required=fortran . ./defs || Exit 1 mkdir sub