From d09625f73abda96b7e83fa0cc91619e213d0dd25 Mon Sep 17 00:00:00 2001 From: Ralf Wildenhues Date: Mon, 12 Feb 2007 20:50:36 +0000 Subject: [PATCH] * 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. --- ChangeLog | 5 +++++ tests/export.at | 7 ++++++- 2 files changed, 11 insertions(+), 1 deletion(-) 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 -- 2.47.3