summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2016-05-03 10:27:36 +0200
committerAlexander Larsson <alexl@redhat.com>2016-05-03 10:27:36 +0200
commit663cfcf3a8f2f84c048cb501e6c988a3f7b02d2c (patch)
tree1e841689e107cfb8a9dbc47ae3e8b46d152e1291 /tests
parent1df3e4845b49081685966b957933f485bb22cbae (diff)
downloadxdg-app-663cfcf3a8f2f84c048cb501e6c988a3f7b02d2c.tar.gz
Fix make check if uninstalled
This uses various environment variables set during make check to find the trigger, bwrap and xdg-app-dbusproxy from the build/source dir rather than the installed location.
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/Makefile.am.inc b/tests/Makefile.am.inc
index 0d7d3c8..a59a87a 100644
--- a/tests/Makefile.am.inc
+++ b/tests/Makefile.am.inc
@@ -1,4 +1,7 @@
TESTS_ENVIRONMENT += OT_TESTS_DEBUG=1 \
+ XDG_APP_TRIGGERSDIR=$$(cd $(top_srcdir) && pwd)/triggers \
+ XDG_APP_BWRAP=$$(cd $(top_builddir) && pwd)/bwrap \
+ XDG_APP_DBUSPROXY=$$(cd $(top_builddir) && pwd)/xdg-dbus-proxy \
GI_TYPELIB_PATH=$$(cd $(top_builddir) && pwd) \
LD_LIBRARY_PATH=$$(cd $(top_builddir)/.libs && pwd) \
PATH=$$(cd $(top_builddir) && pwd):$${PATH} \