]> git.ipfire.org Git - pakfire.git/blobdiff - Makefile.am
tests: Test the locally built binaries
[pakfire.git] / Makefile.am
index d064a6d20281f752ef55416b5a8dd1eb527aca20..9e4f33a4602574e4aaa0a212cd06da3c175d6365 100644 (file)
@@ -1135,6 +1135,14 @@ TESTS_ENVIRONMENT = \
        PAKFIRE_LOG=debug \
        topdir="$(shell pwd)"
 
+# Test the library we just built
+TESTS_ENVIRONMENT += \
+       LD_LIBRARY_PATH=$(top_srcdir)/.libs:$(LD_LIBRARY_PATH)
+
+# Test the Python modules we just built
+TESTS_ENVIRONMENT += \
+       PYTHONPATH=$(top_srcdir)/src:$(top_srcdir)/.libs:$(PYTHONPATH)
+
 dist_check_SCRIPTS = \
        tests/python/archive.py \
        tests/python/ctx.py \