summaryrefslogtreecommitdiffstats
path: root/proxy/Makefile.am
diff options
context:
space:
mode:
authorGünther Deschner <gdeschner@redhat.com>2013-05-15 11:22:34 +0200
committerGünther Deschner <gdeschner@redhat.com>2013-05-15 17:18:51 +0200
commita4a2761bbc644e400d1154544e0918f0f9a1caff (patch)
treef1d58fad3ecef739f8d977a5dd7847258c6c59d7 /proxy/Makefile.am
parent0b506dd9387f468e1f049dc7e07e6e31a1d1c1ac (diff)
downloadgss-proxy-a4a2761bbc644e400d1154544e0918f0f9a1caff.tar.gz
gss-proxy-a4a2761bbc644e400d1154544e0918f0f9a1caff.tar.xz
gss-proxy-a4a2761bbc644e400d1154544e0918f0f9a1caff.zip
Add dlopen script to check for unresolved symbols.
Vendors can call "make test_proxymech" from their specfile to make sure proxymech.so can be properly loaded by the GSSAPI. Signed-off-by: Günther Deschner <gdeschner@redhat.com> Reviewed-by: Simo Sorce <simo@redhat.com>
Diffstat (limited to 'proxy/Makefile.am')
-rw-r--r--proxy/Makefile.am6
1 files changed, 6 insertions, 0 deletions
diff --git a/proxy/Makefile.am b/proxy/Makefile.am
index 857be35..e786d42 100644
--- a/proxy/Makefile.am
+++ b/proxy/Makefile.am
@@ -312,3 +312,9 @@ prerelease-srpm:
mv $(srcdir)/version.m4.orig $(srcdir)/version.m4
endif
+####################
+# Testing #
+####################
+
+test_proxymech:
+ TMPDIR=tests/scripts/ ./tests/scripts/dlopen.sh ./.libs/proxymech.so || exit 1