mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-06-19 06:08:24 +02:00
installcheck: don't run installed tests against installed library if in a DESTDIR
That probably won't work, because it'll find the system-wide library which might be older. Reviewed-by: Will Thompson <will.thompson@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=34570
This commit is contained in:
parent
715fa5c0d5
commit
983fd36264
1 changed files with 4 additions and 0 deletions
|
|
@ -132,10 +132,14 @@ endif !DBUS_ENABLE_INSTALLED_TESTS
|
|||
|
||||
endif DBUS_ENABLE_MODULAR_TESTS
|
||||
|
||||
# If we're installing the tests into a DESTDIR we can't run them
|
||||
# again using the installed copy, because we don't know how to
|
||||
# do a portable equivalent of setting LD_LIBRARY_PATH.
|
||||
installcheck-local:
|
||||
$(MAKE) check-TESTS TESTS='$$(installcheck_tests)' \
|
||||
TESTS_ENVIRONMENT='$$(installcheck_environment)'
|
||||
if DBUS_ENABLE_INSTALLED_TESTS
|
||||
test -n "$(DESTDIR)" || \
|
||||
$(installcheck_environment) \
|
||||
$(srcdir)/dbus-test-runner \
|
||||
$(testexecdir) \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue