* 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.
This commit is contained in:
Ralf Wildenhues 2007-02-12 20:50:36 +00:00
parent 604750237c
commit d09625f73a
2 changed files with 11 additions and 1 deletions

View File

@ -1,5 +1,10 @@
2007-02-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* 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.

View File

@ -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