From: Stefano Lattarini Date: Wed, 4 May 2011 09:58:21 +0000 (+0200) Subject: tests: 'silent-many-gcc.test' improved and made more robust X-Git-Tag: ng-0.5a~89^2~245 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bfebbd11f941b2a6c78014d64333a9c3453f62cd;p=thirdparty%2Fautomake.git tests: 'silent-many-gcc.test' improved and made more robust * tests/silent-many-gcc.test: Also force "fast" gcc depmode for C++ compilations. Add sanity checks verifying that the cache variables we force are really used by configure. Fix typo in comments. --- diff --git a/ChangeLog b/ChangeLog index 6021006fc..6ab07c7e7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2011-05-04 Stefano Lattarini + + tests: 'silent-many-gcc.test' improved and made more robust + * tests/silent-many-gcc.test: Also force "fast" gcc depmode + for C++ compilations. Add sanity checks verifying that the + cache variables we force are really used by configure. Fix + typo in comments. + 2011-05-04 Stefano Lattarini tests: drop useless requirements of 'g++' diff --git a/tests/silent-many-gcc.test b/tests/silent-many-gcc.test index 62dafa196..79fa4a634 100755 --- a/tests/silent-many-gcc.test +++ b/tests/silent-many-gcc.test @@ -180,11 +180,18 @@ $ACLOCAL $AUTOMAKE --add-missing $AUTOCONF +# Sanity check: make sure the cache variables we force are really +# used by configure. +$FGREP am_cv_CC_dependencies_compiler_type configure +$FGREP am_cv_CXX_dependencies_compiler_type configure + # Force gcc ("fast") depmode. +depmodes="am_cv_CC_dependencies_compiler_type=gcc \ + am_cv_CXX_dependencies_compiler_type=gcc" # This apparently useless "for" loop is here to simplify the syncing -# with sister test `silent-many-gcc.test'. +# with sister test `silent-many-generic.test'. for config_args in \ - am_cv_CC_dependencies_compiler_type=gcc + "$depmodes" do ./configure $config_args --enable-silent-rules