bug-libtool
[Top][All Lists]
Advanced

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

testsuite.at for version 2.x Was: ... mingw-cross, check-local fail for


From: Roumen Petrov
Subject: testsuite.at for version 2.x Was: ... mingw-cross, check-local fail for DESTDIR tests
Date: Sat, 10 May 2008 13:25:48 +0300
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.13) Gecko/20080329 SeaMonkey/1.1.9

The libtool version before 2.x (as example 1.5x) in mingw-cross compilation environment create executables as follow:
- foo : wrapper shell script
- foo.exe : libtool wrapper executable
. libs/foo.exe : native(host) executable

Since version 2.x don't create wrapper shell script in build directory make check{-local} skip any tests. The reason is code of macro LT_AT_EXEC_CHECK:
================
# LT_AT_EXEC_CHECK(EXECUTABLE, [STATUS = 0], [STDOUT], [STDERR])
# --------------------------------------------------------------
m4_define([LT_AT_EXEC_CHECK],
[m4_if([$3], [expout], [_LT_AT_TRANSLATE_TEXT_OUTPUT([$3])])
m4_if([$4], [experr], [_LT_AT_TRANSLATE_TEXT_OUTPUT([$4])])
AT_CHECK([$1; lt_status=$?; if test $lt_status -eq 0; then :;
           elif test "X$host" != "X$build" && \
                { test -x "$1" || test -x "$1"$EXEEXT; }
           then (exit 77); else (exit $lt_status); fi],[$2],[$3],[$4])
])
================
The program $1 (wrapper shell scrip in 1.5x and former) don't exist, lt_status is non zero and macro code exit with status 77 (exist wrapper executable "$1"$EXEEXT).

Also same problem in macro LT_AT_NOINST_EXEC_CHECK.

Roumen



Roumen Petrov wrote:
With attached patch now I get for libtool 2.2.4:
DESTDIR tests
 38: Simple DESTDIR install                          ok
 39: DESTDIR with in-package deplibs                 ok

Roumen
P.S. the libtool 2.2.4 is patched with Charles Wilson "cwrapper" patch but I don't think that patch affect above tests.


Roumen Petrov wrote:
Hi libtool Team,

How I have time to check libtool in cross-compiled environment:
$ .../configure --build=${ARCH}-pc-linux --host=${ARCH}-mingw32msvc

$ gcc --version
gcc (GCC) 3.4.5 (mingw special)


A.) The command "make check-local" fail on some tests:
ERROR: 34 tests were run,
5 failed (2 expected failures).
32 tests were skipped.

[SNIP]





reply via email to

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