libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

patch-3: adjust testsuite for redistribution checks (was: HEAD: patch qu


From: Ralf Wildenhues
Subject: patch-3: adjust testsuite for redistribution checks (was: HEAD: patch queue)
Date: Sun, 4 Dec 2005 16:05:17 +0100
User-agent: Mutt/1.5.11

* Ralf Wildenhues wrote on Sun, Dec 04, 2005 at 03:56:15PM CET:
> 
> I'll be replying to this mail with a number of patches, separated by
> logical changes, and *should* work in the order posted (I hope).

> - several (dunno how many yet) patches to fix the actual `make dist' 
>   stuff for clients.

This patch shows what the next ones hope to achieve.

You can set $tst_dist to `dist' or even `distcheck', if you want to
wait even longer (days?).  Right now anything other than the empty value
will provoke failures.  After all patches, it will work with any setting.
Hopefully.

(Setting it to `distckeck' may cause weird issues in combination with
`make -e'.  So don't try that.)

This patch should obsolete the pending libltdl-dist.at patch.

Cheers,
Ralf

        * 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.

Index: tests/testsuite.at
===================================================================
RCS file: /cvsroot/libtool/libtool/tests/testsuite.at,v
retrieving revision 1.33
diff -u -r1.33 testsuite.at
--- tests/testsuite.at  3 Dec 2005 08:33:48 -0000       1.33
+++ tests/testsuite.at  4 Dec 2005 12:48:11 -0000
@@ -19,6 +19,7 @@
 # 02110-1301, USA.
 
 m4_divert_push([PREPARE_TESTS])dnl
+: ${tst_dist=""}
 : ${ACLOCAL=aclocal}
 : ${AUTOHEADER=autoheader}
 : ${AUTOCONF=autoconf}
Index: tests/nonrecursive.at
===================================================================
RCS file: /cvsroot/libtool/libtool/tests/nonrecursive.at,v
retrieving revision 1.5
diff -u -r1.5 nonrecursive.at
--- tests/nonrecursive.at       3 Dec 2005 08:49:48 -0000       1.5
+++ tests/nonrecursive.at       4 Dec 2005 12:48:11 -0000
@@ -78,7 +79,8 @@
   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])
 
@@ -101,7 +103,8 @@
   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])
 
@@ -127,7 +130,7 @@
 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])
Index: tests/recursive.at
===================================================================
RCS file: /cvsroot/libtool/libtool/tests/recursive.at,v
retrieving revision 1.2
diff -u -r1.2 recursive.at
--- tests/recursive.at  14 Nov 2005 22:19:40 -0000      1.2
+++ tests/recursive.at  4 Dec 2005 12:48:11 -0000
@@ -58,7 +59,7 @@
 
 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])
 
@@ -78,7 +79,7 @@
 
 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])
 
@@ -100,7 +101,7 @@
 
 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])
Index: tests/standalone.at
===================================================================
RCS file: /cvsroot/libtool/libtool/tests/standalone.at,v
retrieving revision 1.5
diff -u -r1.5 standalone.at
--- tests/standalone.at 7 Nov 2005 15:37:11 -0000       1.5
+++ tests/standalone.at 4 Dec 2005 12:48:11 -0000
@@ -27,7 +27,7 @@
 
 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 @@
 
 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 @@
 
 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])
Index: tests/subproject.at
===================================================================
RCS file: /cvsroot/libtool/libtool/tests/subproject.at,v
retrieving revision 1.10
diff -u -r1.10 subproject.at
--- tests/subproject.at 14 Nov 2005 22:19:40 -0000      1.10
+++ tests/subproject.at 4 Dec 2005 12:48:11 -0000
@@ -53,7 +53,8 @@
 
 _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 @@
 _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 @@
 
 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])




reply via email to

[Prev in Thread] Current Thread [Next in Thread]