* tests/silent-many-generic.test (configure.in): Cause the test to be skipped if `configure' fails to find working C++, Fortran and Fortran 77 compilers. --- ChangeLog | 7 +++++++ tests/silent-many-generic.test | 6 ++++++ 2 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/ChangeLog b/ChangeLog index 8c1e1cb..4ba81aa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 2011-09-07 Stefano Lattarini <stefano.lattar...@gmail.com> + tests: fix a spurious failure due to lacking Fortran compilers + * tests/silent-many-generic.test (configure.in): Cause the test + to be skipped if `configure' fails to find working C++, Fortran + and Fortran 77 compilers. + +2011-09-07 Stefano Lattarini <stefano.lattar...@gmail.com> + self tests: more use of TAP * tests/self-check-reexec.test: Renamed ... * tests/self-check-reexec.tap: ... to this, converted to the diff --git a/tests/silent-many-generic.test b/tests/silent-many-generic.test index b2c7e89..4ae52de 100755 --- a/tests/silent-many-generic.test +++ b/tests/silent-many-generic.test @@ -105,6 +105,12 @@ AC_PROG_LEX AC_PROG_YACC AC_PROG_CXX +# FIXME: remove this hack once the requirements c++, fortran and fortran77 +# are implemented correctly. +test -n "`echo $CXX`" || AC_MSG_ERROR([C++ compiler not found], [77]) +test -n "`echo $FC`" || AC_MSG_ERROR([Fortran compiler not found], [77]) +test -n "`echo $F77`" || AC_MSG_ERROR([Fortran 77 compiler not found], [77]) + # The SunStudio C++ compiler is unfortunately named `CC' (yuck!), # and this can cause problems with our grepping checks on the # output from make. Avoid these problems by invoking a wrapper -- 1.7.2.3