From: Stefano Lattarini Date: Wed, 25 May 2011 14:15:27 +0000 (+0200) Subject: testsuite: don't require g++ where any C++ compiler is enough X-Git-Tag: ng-0.5a~89^2~226 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a4c93e4ec667745b5e6277c3ae95d5e5b38e52b1;p=thirdparty%2Fautomake.git testsuite: don't require g++ where any C++ compiler is enough * tests/specflg10.test ($required): Use `c++', not g++. * tests/silent-many-generic.test: Likewise. --- diff --git a/ChangeLog b/ChangeLog index e7dcc98d7..e7f480ff8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2011-05-25 Stefano Lattarini + + testsuite: don't require g++ where any C++ compiler is enough + * tests/specflg10.test ($required): Use `c++', not g++. + * tests/silent-many-generic.test: Likewise. + 2011-05-25 Stefano Lattarini testsuite: require C compiler explicitly in tests needing it diff --git a/tests/silent-many-generic.test b/tests/silent-many-generic.test index 80b9816ea..9897b0c29 100755 --- a/tests/silent-many-generic.test +++ b/tests/silent-many-generic.test @@ -22,8 +22,8 @@ # sister test `silent-many-gcc.test', which requires the GNU compilers # and forces the use of gcc depmode. -# FIXME: generic C++/Fortran compilers should suffice here -required='cc g++ gfortran flex yacc' +# FIXME: generic Fortran compilers should suffice here +required='cc c++ gfortran flex yacc' . ./defs || Exit 1 # Avoids too much code duplication. diff --git a/tests/specflg10.test b/tests/specflg10.test index 36f680786..eaac391c9 100755 --- a/tests/specflg10.test +++ b/tests/specflg10.test @@ -16,7 +16,7 @@ # AM_DEFAULT_SOURCE_EXT -required='cc g++' #FIXME: a generic C++ compiler should be enough. +required='cc c++' . ./defs || Exit 1 cat >> configure.in << 'END'