]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
tests: avoid spurious failure for each gnu-fortran-using test
authorJim Meyering <meyering@redhat.com>
Tue, 17 Jan 2012 11:22:59 +0000 (12:22 +0100)
committerJim Meyering <meyering@redhat.com>
Tue, 17 Jan 2012 12:26:05 +0000 (13:26 +0100)
The tests compare pre- and post-run lists of envvars, which must
be the same, modulo a list of known, filtered-out exceptions.
However, when running fortran-checking tests with GNU fortran, each
would fail due to the post-run addition of the GFC symbol added in
v2.68-97-gbd962ac.
* tests/local.at (AT_CHECK_ENV): Add GFC to the list of symbols
that we ignore in pre-/post-run environment diffs.

tests/local.at

index 8b73c942ddee22d9ab31cdb68276d518790d91b6..cce24f000f444a633237e4c0955542862ca075e7 100644 (file)
@@ -316,7 +316,7 @@ if test -f state-env.before && test -f state-env.after; then
       [(host|build|target)(_(alias|cpu|vendor|os))?],
       [cross_compiling|U],
       [interpval|PATH_SEPARATOR],
-      [F77_DUMMY_MAIN|f77_(case|underscore)],
+      [GFC|F77_DUMMY_MAIN|f77_(case|underscore)],
       [FC(_DUMMY_MAIN|FLAGS|LIBS|FLAGS_[fF]|_MODEXT|_MODINC|_MODOUT|_DEFINE)?],
       [ALLOCA|GETLOADAVG_LIBS|KMEM_GROUP|NEED_SETGID|POW_LIB],
       [AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|MKDIR_P|RANLIB|SET_MAKE|YACC],