X-Git-Url: https://git.draconx.ca/gitweb/dxcommon.git/blobdiff_plain/2d17f059aa8a1e4670b9dad3f24556c7d97f6d45..c01bc8e8ea99252f4249434e432896c8f2ae1199:/testsuite.at diff --git a/testsuite.at b/testsuite.at index aa5abaf..f25bb33 100644 --- a/testsuite.at +++ b/testsuite.at @@ -1,10 +1,54 @@ -dnl Copyright © 2015 Nick Bowler -dnl -dnl License WTFPL2: Do What The Fuck You Want To Public License, version 2. -dnl This is free software: you are free to do what the fuck you want to. -dnl There is NO WARRANTY, to the extent permitted by law. +AT_COPYRIGHT([dnl +Copyright © 2015,2019-2021 Nick Bowler +License WTFPL2: Do What The Fuck You Want To Public License, version 2. +This is free software: you are free to do what the fuck you want to. +There is NO WARRANTY, to the extent permitted by law.]) AT_INIT 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]) +]$1[ +AC_OUTPUT +]]) +cp "$srcdir/install-sh" \ + "$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 <