]> git.ipfire.org Git - pakfire.git/blobdiff - Makefile.am
python: Pakfire.execute(): Fix parsing some arguments
[pakfire.git] / Makefile.am
index 2310118c70e64a2001eda9237def3ba0d5972045..2fbead80e7d75fca4f802133acb5fcb9b3f833cd 100644 (file)
@@ -1129,13 +1129,23 @@ TESTSUITE_LDADD = \
        libpakfire-internal.la
 
 TESTS_ENVIRONMENT = \
-       TEST_CONFIG_FILE="$(abs_top_srcdir)/tests/pakfire/pakfire.conf" \
+       TEST_CONFIG_FILE="$(abs_top_srcdir)/tests/pakfire.conf" \
        TEST_DATA_DIR="$(abs_top_srcdir)/tests/data" \
        TEST_STUB_ROOT="$(TEST_STUB_ROOT)" \
        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 \
        tests/python/keys.py \
        tests/python/jail.py \
        tests/python/package.py