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:
parent
3e3755c497
commit
f8bef792cb
|
|
@ -70,6 +70,7 @@ _build
|
||||||
/test-remote-add.test
|
/test-remote-add.test
|
||||||
/test-setuid.test
|
/test-setuid.test
|
||||||
/test-xattrs.test
|
/test-xattrs.test
|
||||||
|
/tests/libreaddir-rand.so
|
||||||
test-varint
|
test-varint
|
||||||
test*.test
|
test*.test
|
||||||
*.trs
|
*.trs
|
||||||
|
|
|
||||||
|
|
@ -49,3 +49,6 @@ GITIGNOREFILES =
|
||||||
# This is a special facility to chain together hooks easily
|
# This is a special facility to chain together hooks easily
|
||||||
INSTALL_DATA_HOOKS =
|
INSTALL_DATA_HOOKS =
|
||||||
install-data-hook: $(INSTALL_DATA_HOOKS)
|
install-data-hook: $(INSTALL_DATA_HOOKS)
|
||||||
|
|
||||||
|
ALL_LOCAL_RULES =
|
||||||
|
all-local: $(ALL_LOCAL_RULES)
|
||||||
|
|
|
||||||
|
|
@ -216,6 +216,10 @@ EXTRA_DIST += \
|
||||||
tests/gpg-verify-data/trustdb.gpg \
|
tests/gpg-verify-data/trustdb.gpg \
|
||||||
tests/gpg-verify-data/gpg.conf
|
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
|
# Unfortunately the glib test data APIs don't actually handle
|
||||||
# non-recursive Automake, so we change our code to canonically look
|
# non-recursive Automake, so we change our code to canonically look
|
||||||
# for tests/ which is just a symlink when installed.
|
# for tests/ which is just a symlink when installed.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue