summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-01-02 13:22:19 +0100
committerGünther Deschner <gd@samba.org>2008-01-02 13:25:25 +0100
commit448433917459a01b675189eb1084534fd4faf1ab (patch)
tree4f907f3068aa477b3702b6de922e2ee852f14df7
parent9b5ec6ba03963776486bc6259dcb2d00c2fbdaa5 (diff)
downloadsamba-448433917459a01b675189eb1084534fd4faf1ab.tar.gz
samba-448433917459a01b675189eb1084534fd4faf1ab.tar.bz2
samba-448433917459a01b675189eb1084534fd4faf1ab.zip
Add test_shlibs to Makefile.
Guenther (This used to be commit 5f5051911c25772c7fb4ff41fca0aafae371ae4f)
-rw-r--r--source3/Makefile.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in
index 01f2988b88..dfb373438d 100644
--- a/source3/Makefile.in
+++ b/source3/Makefile.in
@@ -2129,6 +2129,14 @@ Makefile: $(srcdir)/Makefile.in config.status
######################################################################
# Samba Testing Framework
+# Check shared libs for unresolved symbols
+test_shlibs: $(SHLIBS)
+ @echo "Testing $(SHLIBS) "
+ @for module in $(SHLIBS); do \
+ ./script/tests/dlopen.sh bin/$${module}.@SHLIBEXT@ \
+ || exit 1; \
+ done
+
# Check for NSS module problems.
test_nss_modules: nss_modules
@echo "Testing $(NSS_MODULES) "