]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* tests/export.at: Exporting is not fully functional with
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Mon, 12 Feb 2007 20:50:36 +0000 (20:50 +0000)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Mon, 12 Feb 2007 20:50:36 +0000 (20:50 +0000)
-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
tests/export.at

index f3881334e3b447317dd0665233df7d9d6a2d7304..4b59e448e1c9003f83d4f2d03cc73e51a78b741c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
 
index 097364cd1efa3f77748769bae1d8ab35b455873b..b8702604e10a01a3875a519630bd02917b7ee8b8 100644 (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