Hi Tim,
* Tim Rice wrote on Fri, Feb 08, 2008 at 03:00:05AM CET:
>
> I'm getting an "UNEXPECTED PASS" on test 30 of the new test suite
> on my UnixWare 7.1.4 box.
>
> A testlog generated with "gmake check-local TESTSUITEFLAGS='-d -x 30'" is
> attached.
Thanks for the bug report. I've installed this patch.
Cheers,
Ralf
2008-02-08 Ralf Wildenhues <[EMAIL PROTECTED]>
* tests/archive-in-archive.at
(static library contains static library): Test also the actual
broken link command, and the following install command, as
UnixWare ar rightly refuses to put an archive into an archive.
Report by Tim Rice.
Index: tests/archive-in-archive.at
===================================================================
RCS file: /cvsroot/libtool/libtool/tests/archive-in-archive.at,v
retrieving revision 1.1
diff -u -r1.1 archive-in-archive.at
--- tests/archive-in-archive.at 4 Jun 2007 03:01:11 -0000 1.1
+++ tests/archive-in-archive.at 8 Feb 2008 06:53:45 -0000
@@ -1,6 +1,6 @@
# dmacks.at -- test for dmacks bug -*- Autotest -*-
#
-# Copyright (C) 2007 Free Software Foundation, Inc.
+# Copyright (C) 2007, 2008 Free Software Foundation, Inc.
# Written by Peter O'Gorman, 2007
#
# This file is part of GNU Libtool.
@@ -42,9 +42,10 @@
$LIBTOOL --mode=link --tag=CC --tag=disable-shared $CC $CFLAGS $LDFLAGS \
-o libfoo.la foo.lo -version-info 1:0:0 -rpath $thisdir
$LIBTOOL --mode=install cp libfoo.la $thisdir
-$LIBTOOL --mode=link --tag=CC --tag=disable-shared $CC $CFLAGS $LDFLAGS \
--o libbar.la bar.lo ./libfoo.a -version-info 1:0:0 -rpath $thisdir
-$LIBTOOL --mode=install cp libbar.la $thisdir
+AT_CHECK([$LIBTOOL --mode=link --tag=CC --tag=disable-shared $CC $CFLAGS
$LDFLAGS \
+ -o libbar.la bar.lo ./libfoo.a -version-info 1:0:0 -rpath $thisdir],
+ [], [ignore], [ignore])
+AT_CHECK([$LIBTOOL --mode=install cp libbar.la $thisdir], [], [ignore],
[ignore])
AT_CHECK([ar -t libbar.a | grep libfoo.a],[1],[ignore],[ignore])
archive_contents=`ar -t libbar.a`
AT_XFAIL_IF([case "$archive_contents" in *"libfoo.a"*) : ;; esac])
_______________________________________________
http://lists.gnu.org/mailman/listinfo/libtool