From: Ralf Wildenhues Date: Fri, 16 Dec 2005 16:15:32 +0000 (+0000) Subject: * tests/testsuite.at (PREPARE_TESTS): New variable `tst_dist', X-Git-Tag: release-2-1b~364 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a33d6a891665b0e9aaec8cc5fa4f9617e9e3c4c7;p=thirdparty%2Flibtool.git * tests/testsuite.at (PREPARE_TESTS): New variable `tst_dist', default to empty. * tests/nonrecursive.at, tests/recursive.at, tests/standalone.at, tests/subproject.at: Use it in LT_AT_BOOTSTRAP or LT_AT_MAKE, so that you can optionally test redistribution within the tests. --- diff --git a/ChangeLog b/ChangeLog index ee9f4444e..2b631a411 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 2005-12-16 Ralf Wildenhues + * tests/testsuite.at (PREPARE_TESTS): New variable `tst_dist', + default to empty. + * tests/nonrecursive.at, tests/recursive.at, + tests/standalone.at, tests/subproject.at: Use it in + LT_AT_BOOTSTRAP or LT_AT_MAKE, so that you can optionally test + redistribution within the tests. + * libltdl/m4/lt~obsolete.m4: Update documentation for aclocal versions before 1.7. Change all macros to use AC_DEFUN instead of AU_DEFUN. diff --git a/tests/nonrecursive.at b/tests/nonrecursive.at index 66e9d8493..44838ce07 100644 --- a/tests/nonrecursive.at +++ b/tests/nonrecursive.at @@ -79,7 +79,8 @@ for file in argz.c lt__dirent.c lt__strl.c; do cp ltdl/$file $file done -LT_AT_BOOTSTRAP([ignore], [-I ltdl/m4], [ignore], [--add-missing --copy]) +LT_AT_BOOTSTRAP([ignore], [-I ltdl/m4], [ignore], [--add-missing --copy], + [], [], [all $tst_dist]) AT_CHECK([test -f ltdl/libltdlc.la]) @@ -102,7 +103,8 @@ for file in argz.c lt__dirent.c lt__strl.c; do cp ltdl/$file $file done -LT_AT_BOOTSTRAP([ignore], [-I ltdl/m4], [ignore], [--add-missing --copy]) +LT_AT_BOOTSTRAP([ignore], [-I ltdl/m4], [ignore], [--add-missing --copy], + [], [], [all $tst_dist]) AT_CHECK([test -f ltdl/libltdlc.la]) @@ -128,7 +130,7 @@ for file in argz.c lt__dirent.c lt__strl.c; do done LT_AT_BOOTSTRAP([ignore], [-I ltdl/m4], [ignore], [--add-missing --copy], - [], [--enable-ltdl-install --prefix=$prefix], [all install]) + [], [--enable-ltdl-install --prefix=$prefix], [all install $tst_dist]) AT_CHECK([test -f $prefix/lib/libltdl.la]) AT_CHECK([test -f $prefix/include/ltdl.h]) diff --git a/tests/recursive.at b/tests/recursive.at index 780e665a8..2a5b10764 100644 --- a/tests/recursive.at +++ b/tests/recursive.at @@ -59,7 +59,7 @@ AT_CHECK([if test -f ltdl/configure.ac; then false; fi]) LT_AT_AUTORECONF([--force --verbose --install]) LT_AT_CONFIGURE -LT_AT_MAKE +LT_AT_MAKE([all $tst_dist]) AT_CHECK([test -f ltdl/libltdlc.la]) @@ -79,7 +79,7 @@ AT_CHECK([if test -f ltdl/configure.ac; then false; fi]) LT_AT_AUTORECONF([--force --verbose --install]) LT_AT_CONFIGURE -LT_AT_MAKE +LT_AT_MAKE([all $tst_dist]) AT_CHECK([test -f ltdl/libltdlc.la]) @@ -101,7 +101,7 @@ AT_CHECK([if test -f ltdl/configure.ac; then false; fi]) LT_AT_AUTORECONF([--force --verbose --install]) LT_AT_CONFIGURE([--enable-ltdl-install --prefix=$prefix]) -LT_AT_MAKE([all install]) +LT_AT_MAKE([all install $tst_dist]) AT_CHECK([test -f $prefix/lib/libltdl.la]) AT_CHECK([test -f $prefix/include/ltdl.h]) diff --git a/tests/standalone.at b/tests/standalone.at index 4270b40bf..06c05c9d7 100644 --- a/tests/standalone.at +++ b/tests/standalone.at @@ -27,7 +27,7 @@ AT_SETUP([compiling softlinked libltdl]) LT_AT_LIBTOOLIZE([--ltdl=.]) LT_AT_CONFIGURE -LT_AT_MAKE +LT_AT_MAKE([all $tst_dist]) AT_CHECK([test -f libltdlc.la]) @@ -42,7 +42,7 @@ AT_SETUP([compiling copied libltdl]) LT_AT_LIBTOOLIZE([--copy --ltdl=.]) LT_AT_CONFIGURE -LT_AT_MAKE +LT_AT_MAKE([all $tst_dist]) AT_CHECK([test -f libltdlc.la]) @@ -59,7 +59,7 @@ prefix=`pwd`/_inst LT_AT_LIBTOOLIZE([--copy --ltdl=.]) LT_AT_CONFIGURE([--enable-ltdl-install --prefix=$prefix]) -LT_AT_MAKE([all install]) +LT_AT_MAKE([all install $tst_dist]) AT_CHECK([test -f $prefix/lib/libltdl.la]) AT_CHECK([test -f $prefix/include/ltdl.h]) diff --git a/tests/subproject.at b/tests/subproject.at index c30d50f6c..b3918503b 100644 --- a/tests/subproject.at +++ b/tests/subproject.at @@ -53,7 +53,8 @@ AT_SETUP([compiling softlinked libltdl]) _LTDL_SETUP -LT_AT_BOOTSTRAP([--ltdl], [-I sub/ltdl/m4], [ignore], [--add-missing --copy]) +LT_AT_BOOTSTRAP([--ltdl], [-I sub/ltdl/m4], [ignore], [--add-missing --copy], + [], [], [all $tst_dist]) AT_CHECK([test -f sub/ltdl/libltdlc.la]) @@ -69,7 +70,7 @@ AT_SETUP([compiling copied libltdl]) _LTDL_SETUP LT_AT_BOOTSTRAP([--copy --ltdl], [-I sub/ltdl/m4], [ignore], - [--add-missing --copy]) + [--add-missing --copy], [], [], [all $tst_dist]) AT_CHECK([test -f sub/ltdl/libltdlc.la]) @@ -88,7 +89,7 @@ _LTDL_SETUP LT_AT_BOOTSTRAP([--copy --ltdl], [-I sub/ltdl/m4], [ignore], [--add-missing --copy], [], [--enable-ltdl-install --prefix=$prefix], - [all install]) + [all install $tst_dist]) AT_CHECK([test -f $prefix/lib/libltdl.la]) AT_CHECK([test -f $prefix/include/ltdl.h]) diff --git a/tests/testsuite.at b/tests/testsuite.at index 7c8478fc8..08de5bf8c 100644 --- a/tests/testsuite.at +++ b/tests/testsuite.at @@ -19,6 +19,7 @@ # 02110-1301, USA. m4_divert_push([PREPARE_TESTS])dnl +: ${tst_dist=""} : ${ACLOCAL=aclocal} : ${AUTOHEADER=autoheader} : ${AUTOCONF=autoconf}