]> git.ipfire.org Git - people/ms/pakfire.git/blobdiff - Makefile.am
problem: Store a reference to the context
[people/ms/pakfire.git] / Makefile.am
index 20e7beb056bbd8146c955e7bc411c0722e5cc80f..2fbead80e7d75fca4f802133acb5fcb9b3f833cd 100644 (file)
@@ -1129,16 +1129,29 @@ TESTSUITE_LDADD = \
        libpakfire-internal.la
 
 TESTS_ENVIRONMENT = \
+       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 \
-       tests/python/test.py
+       tests/python/package.py
+
+EXTRA_DIST += \
+       tests/python/tests.py
 
 TESTS = \
        $(check_PROGRAMS) \