diff options
author | Alexander Larsson <alexl@redhat.com> | 2016-04-27 16:31:27 +0200 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2016-04-27 16:37:15 +0200 |
commit | 3d3ebf814dc714a06793696bb21190fa2815ebca (patch) | |
tree | 26490725bdfe1b0c2590731c8d6c998869ec243a /tests | |
parent | bc7bfeef6fc2f49c19ed94e91b903b0b454820b5 (diff) | |
download | xdg-app-3d3ebf814dc714a06793696bb21190fa2815ebca.tar.gz |
Support installed tests
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Makefile.am.inc | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/tests/Makefile.am.inc b/tests/Makefile.am.inc index 2475852..c05eee6 100644 --- a/tests/Makefile.am.inc +++ b/tests/Makefile.am.inc @@ -1,3 +1,9 @@ +TESTS_ENVIRONMENT += OT_TESTS_DEBUG=1 \ + GI_TYPELIB_PATH=$$(cd $(top_builddir) && pwd) \ + LD_LIBRARY_PATH=$$(cd $(top_builddir)/.libs && pwd) \ + PATH=$$(cd $(top_builddir) && pwd):$${PATH} \ + $(NULL) + TEST_PROGS += testdb test-doc-portal testdb_CFLAGS = $(BASE_CFLAGS) -DDB_DIR=\"$(abs_srcdir)/tests/dbs\" testdb_LDADD = \ @@ -28,9 +34,9 @@ tests/services/org.freedesktop.XdgApp.service: session-helper/org.freedesktop.Xd test_doc_portal_DEPENDENCIES = tests/services/org.freedesktop.portal.Documents.service tests/services/org.freedesktop.XdgApp.service -check_PROGRAMS = $(TEST_PROGS) +check_PROGRAMS += $(TEST_PROGS) -TESTS=testdb test-doc-portal +test_programs = testdb test-doc-portal @VALGRIND_CHECK_RULES@ VALGRIND_SUPPRESSIONS_FILES=tests/xdg-app.supp |