3 Apr 2007 01:12
Autoconf testsuite and cross setups
Ralf Wildenhues <Ralf.Wildenhues <at> gmx.de>
2007-04-02 23:12:52 GMT
2007-04-02 23:12:52 GMT
Let's give developers with uncommon cross setups help for Autoconf
regression testing: The Autoconf testsuite should work as well as
possible with a cross-compilation environment, just like the CVS
Libtool one does. Likewise TODO for Automake.
The patch below is a first step. It allows
$ configure_options="--host=i586-mingw32msvc --build=i686-pc-linux-gnu" \
make check "TESTSUITEFLAGS=FC=no F77=no"
to pass or skip most tests, on my Debian testing system. I haven't
yet done the mktests-generated tests that fail with this:
201: AC_TRY_RUN (acgeneral.at:32)
288: AC_FUNC_SETPGRP (acfunctions.at:31)
these need to be rewritten manually, and then exempted from mktests.
And then we need documentation for $configure_options -- does anyone
see a nice way to pass variables with spaces through TESTSUITEFLAGS?
(Also, --build, and the $FC and $F77 settings should not be needed
IMHO, but let's defer the more difficult but also more cosmetic
issues for now.)
FYI, these tests are skipped:
115: AC_RUN_IFELSE (compile.at:141)
145: GNU Fortran 77 (fortran.at:33)
146: GNU Fortran (fortran.at:61)
147: AC_F77_MAIN (acfortran.at:12)
148: AC_F77_WRAPPERS (acfortran.at:13)
(Continue reading)
So for the moment: ok to apply the status.m4 change of the patch below?
Cheers,
Ralf
.
RSS Feed