mirror of
https://gitlab.freedesktop.org/upower/upower.git
synced 2026-05-02 15:28:00 +02:00
trivial: Fix Linux integration-test for distcheck
distcheck uses a separate build tree, thus call the script from the right directory. Also actually ship it in release tarballs.
This commit is contained in:
parent
065c597b88
commit
37fdb2c959
1 changed files with 3 additions and 2 deletions
|
|
@ -44,7 +44,8 @@ libupshared_la_SOURCES = \
|
|||
$(idevice_files) \
|
||||
$(BUILT_SOURCES)
|
||||
|
||||
EXTRA_DIST = $(libupshared_la_SOURCES)
|
||||
EXTRA_DIST = $(libupshared_la_SOURCES) \
|
||||
integration-test
|
||||
|
||||
libupshared_la_CFLAGS = \
|
||||
$(WARNINGFLAGS_C)
|
||||
|
|
@ -53,7 +54,7 @@ if UP_BUILD_TESTS
|
|||
DBUS_LAUNCH=$(shell which dbus-launch)
|
||||
|
||||
check-local: $(top_builddir)/src/upowerd
|
||||
env top_builddir=$(top_builddir) $(DBUS_LAUNCH) ./integration-test -v
|
||||
env top_builddir=$(top_builddir) $(DBUS_LAUNCH) $(srcdir)/integration-test -v
|
||||
endif
|
||||
|
||||
clean-local :
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue