From: Ralf Wildenhues Date: Mon, 12 Feb 2007 20:50:36 +0000 (+0000) Subject: * tests/export.at: Exporting is not fully functional with X-Git-Tag: release-2-1b~194 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d09625f73abda96b7e83fa0cc91619e213d0dd25;p=thirdparty%2Flibtool.git * tests/export.at: Exporting is not fully functional with -retain-symbols-file. Do not test for failure to link `broken' in this case. At the end of the test, SKIP if we are not fully functional. --- diff --git a/ChangeLog b/ChangeLog index f3881334e..4b59e448e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2007-02-12 Ralf Wildenhues + * tests/export.at: Exporting is not fully functional with + -retain-symbols-file. Do not test for failure to link `broken' + in this case. At the end of the test, SKIP if we are not fully + functional. + * tests/lt_dlexit.at: Add casts and `extern "C"' to let the test pass with a C++ compiler. diff --git a/tests/export.at b/tests/export.at index 097364cd1..b8702604e 100644 --- a/tests/export.at +++ b/tests/export.at @@ -24,7 +24,10 @@ AT_KEYWORDS([libtool]) AT_CHECK([$LIBTOOL --features | grep 'disable shared libraries' && (exit 77)], [1], [ignore]) AT_CHECK([eval `$LIBTOOL --config | sed -n '/^archive_expsym_cmds=/,/^$/p'` - test -n "$archive_expsym_cmds" || echo false >can-hide]) + test -n "$archive_expsym_cmds" || echo false >can-hide + case $archive_expsym_cmds in + *-retain-symbols-file*) echo false >can-hide ;; + esac]) can_hide=: test -s can-hide && can_hide=false @@ -161,4 +164,6 @@ do fi done +AT_CHECK([$can_hide || (exit 77)]) + AT_CLEANUP