mirror of
git://git.savannah.gnu.org/libtool.git
synced 2025-02-17 15:10:02 +08:00
Skip some tests in --disable-ltdl-install mode.
* tests/dlloader-api.at, tests/exceptions.at, tests/lalib-syntax.at, tests/loadlibrary.at, tests/lt_dlopenext.at, tests/resident.at: Detect when these tests try to link against the not installed libltdl.la, and skip rather than FAIL.
This commit is contained in:
parent
b2c5221466
commit
066a70fd86
@ -1,3 +1,12 @@
|
||||
2010-05-21 Gary V. Vaughan <gary@gnu.org>
|
||||
|
||||
Skip some tests in --disable-ltdl-install mode.
|
||||
* tests/dlloader-api.at, tests/exceptions.at,
|
||||
tests/lalib-syntax.at, tests/loadlibrary.at,
|
||||
tests/lt_dlopenext.at, tests/resident.at: Detect when these
|
||||
tests try to link against the not installed libltdl.la, and
|
||||
skip rather than FAIL.
|
||||
|
||||
2010-05-05 Peter Rosin <peda@lysator.liu.se>
|
||||
|
||||
Clarify versioning algorithm documentation.
|
||||
|
@ -395,6 +395,12 @@ last_exit: last_ctx
|
||||
: ${LTDLINCL="-I$abs_top_srcdir/libltdl"}
|
||||
: ${LIBLTDL="$abs_builddir/../libltdl/libltdlc.la"}
|
||||
|
||||
# Skip this test when called from:
|
||||
# make distcheck DISTCHECK_CONFIGURE_FLAGS=--disable-ltdl-install
|
||||
AT_CHECK([case $LIBLTDL in #(
|
||||
*/_inst/lib/*) test -f $LIBLTDL || (exit 77) ;;
|
||||
esac], [], [ignore])
|
||||
|
||||
CPPFLAGS="$LTDLINCL $CPPFLAGS"
|
||||
|
||||
AT_CHECK([$LIBTOOL --mode=compile $CC $CPPFLAGS $CFLAGS -c module.c],
|
||||
|
@ -24,8 +24,16 @@
|
||||
AT_SETUP([C++ exception handling])
|
||||
AT_KEYWORDS([libtool])
|
||||
AT_KEYWORDS([libltdl])
|
||||
|
||||
: ${LTDLINCL="-I$abs_top_srcdir/libltdl"}
|
||||
: ${LIBLTDL="$abs_builddir/../libltdl/libltdlc.la"}
|
||||
|
||||
# Skip this test when called from:
|
||||
# make distcheck DISTCHECK_CONFIGURE_FLAGS=--disable-ltdl-install
|
||||
AT_CHECK([case $LIBLTDL in #(
|
||||
*/_inst/lib/*) test -f $LIBLTDL || (exit 77) ;;
|
||||
esac], [], [ignore])
|
||||
|
||||
CPPFLAGS="$LTDLINCL $CPPFLAGS"
|
||||
|
||||
AT_DATA([module.h],
|
||||
|
@ -64,6 +64,13 @@ AT_DATA([module.c],
|
||||
|
||||
: ${LTDLINCL="-I$abs_top_srcdir/libltdl"}
|
||||
: ${LIBLTDL="$abs_builddir/../libltdl/libltdlc.la"}
|
||||
|
||||
# Skip this test when called from:
|
||||
# make distcheck DISTCHECK_CONFIGURE_FLAGS=--disable-ltdl-install
|
||||
AT_CHECK([case $LIBLTDL in #(
|
||||
*/_inst/lib/*) test -f $LIBLTDL || (exit 77) ;;
|
||||
esac], [], [ignore])
|
||||
|
||||
CPPFLAGS="$CPPFLAGS $LTDLINCL"
|
||||
|
||||
AT_CHECK([$CC $CPPFLAGS $CFLAGS -c main.c], [], [ignore], [ignore])
|
||||
|
@ -212,6 +212,12 @@ barsym (void)
|
||||
: ${LTDLINCL="-I$abs_top_srcdir/libltdl"}
|
||||
: ${LIBLTDL="$abs_builddir/../libltdl/libltdlc.la"}
|
||||
|
||||
# Skip this test when called from:
|
||||
# make distcheck DISTCHECK_CONFIGURE_FLAGS=--disable-ltdl-install
|
||||
AT_CHECK([case $LIBLTDL in #(
|
||||
*/_inst/lib/*) test -f $LIBLTDL || (exit 77) ;;
|
||||
esac], [], [ignore])
|
||||
|
||||
CPPFLAGS="$LTDLINCL $CPPFLAGS"
|
||||
inst=`pwd`/inst
|
||||
libdir=$inst/lib
|
||||
|
@ -183,6 +183,12 @@ dlerrordup (char *errormsg)
|
||||
: ${LTDLINCL="-I$abs_top_srcdir/libltdl"}
|
||||
: ${LIBLTDL="$abs_builddir/../libltdl/libltdlc.la"}
|
||||
|
||||
# Skip this test when called from:
|
||||
# make distcheck DISTCHECK_CONFIGURE_FLAGS=--disable-ltdl-install
|
||||
AT_CHECK([case $LIBLTDL in #(
|
||||
*/_inst/lib/*) test -f $LIBLTDL || (exit 77) ;;
|
||||
esac], [], [ignore])
|
||||
|
||||
CPPFLAGS="$LTDLINCL $CPPFLAGS"
|
||||
LDFLAGS="$LDFLAGS -no-undefined"
|
||||
|
||||
|
@ -121,6 +121,12 @@ setup_plugin (void)
|
||||
: ${LTDLINCL="-I$abs_top_srcdir/libltdl"}
|
||||
: ${LIBLTDL="$abs_builddir/../libltdl/libltdlc.la"}
|
||||
|
||||
# Skip this test when called from:
|
||||
# make distcheck DISTCHECK_CONFIGURE_FLAGS=--disable-ltdl-install
|
||||
AT_CHECK([case $LIBLTDL in #(
|
||||
*/_inst/lib/*) test -f $LIBLTDL || (exit 77) ;;
|
||||
esac], [], [ignore])
|
||||
|
||||
CPPFLAGS="$LTDLINCL $CPPFLAGS"
|
||||
LDFLAGS="$LDFLAGS -no-undefined"
|
||||
inst=`pwd`/inst
|
||||
|
Loading…
Reference in New Issue
Block a user