Symlink libreaddir-rand.so into tests directory

This means it can be LD_PRELOADed during build-time testing.

Signed-off-by: Simon McVittie <smcv@debian.org>

Closes: #232
Approved by: cgwalters
This commit is contained in:
Simon McVittie authored and Colin Walters (automation) committed 2016-03-31 14:22:06 +00:00
1 parent 3e3755c497
commit f8bef792cb
3 files changed
+8

No files matched your search

+1
View File
@@ -70,6 +70,7 @@ _build
/test-remote-add.test
/test-setuid.test
/test-xattrs.test
/tests/libreaddir-rand.so
test-varint
test*.test
*.trs
+3
View File
@@ -49,3 +49,6 @@ GITIGNOREFILES =
# This is a special facility to chain together hooks easily
INSTALL_DATA_HOOKS =
install-data-hook: $(INSTALL_DATA_HOOKS)
ALL_LOCAL_RULES =
all-local: $(ALL_LOCAL_RULES)
+4
View File
@@ -216,6 +216,10 @@ EXTRA_DIST += \
tests/gpg-verify-data/trustdb.gpg \
tests/gpg-verify-data/gpg.conf
tests-libreaddir-rand-so-symlink:
ln -fns ../.libs/libreaddir-rand.so tests
ALL_LOCAL_RULES += tests-libreaddir-rand-so-symlink
# Unfortunately the glib test data APIs don't actually handle
# non-recursive Automake, so we change our code to canonically look
# for tests/ which is just a symlink when installed.