X-Git-Url: http://git.draconx.ca/gitweb/dxcommon.git/blobdiff_plain/fbe1276f79d2c12aef279562eed9975e5b74db85..843799dbec995b276a7d017bb32c053747b55400:/testsuite.at?ds=sidebyside diff --git a/testsuite.at b/testsuite.at index 2c08518..f25bb33 100644 --- a/testsuite.at +++ b/testsuite.at @@ -9,6 +9,13 @@ AT_COLOR_TESTS AT_TESTED([prove]) +m4_divert_push([PREPARE_TESTS])dnl +# Reduce influence from the toplevel "make" invocation on test cases. +AS_UNSET([MAKEFLAGS]) +AS_UNSET([MAKELEVEL]) +AS_UNSET([MFLAGS]) +m4_divert_pop([PREPARE_TESTS]) + m4_define([TEST_CONFIGURE_AC], [AT_KEYWORDS([autoconf m4])dnl AT_DATA([configure.ac], [[AC_INIT([test], [0]) @@ -16,17 +23,31 @@ AT_DATA([configure.ac], AC_OUTPUT ]]) cp "$srcdir/install-sh" \ - "$srcdir/config.guess" \ + "$srcdir/depcomp" \ + "$srcdir/missing" \ "$srcdir/config.sub" \ . +# Simplified config.guess script avoids some spurious testcase failures +# when using heirloom-sh on GNU/Linux. +config_guess=`"$srcdir/config.guess"` +cat >config.guess <