*.mo
*.o
*.stamp
+*.trs
*~
.deps
.dirstamp
src/systemd/%: src/systemd/%.in Makefile
$(SED_PROCESS)
+
+# - testsuite ------------------------------------------------------------------
+
+TESTS_ENVIRONMENT = \
+ PYTHONPATH="$(top_srcdir)/.libs:$(top_srcdir)/src" \
+ topdir="$(shell pwd)"
+
+dist_check_SCRIPTS = \
+ tests/module-load.py
+
+TESTS = \
+ $(dist_check_SCRTIPS)
if (i == job.count)
queue_push2(&job, SOLVER_SOLVABLE, *provides);
- *provides++;
+ provides++;
}
}
}
from constants import *
from i18n import _
-from pakfire._pakfire import Transaction, sync
+from _pakfire import Transaction, sync
_Transaction = Transaction
PKG_DUMP_FORMAT = " %-21s %-8s %-21s %-18s %6s "
--- /dev/null
+#!/usr/bin/python
+
+import os
+import sys
+
+# Try to load the _pakfire module.
+import pakfire
+
+# Check that we didn't load the system's version.
+topdir = os.environ.get("topdir")
+
+if not pakfire.__file__.startswith(topdir):
+ print "Wrong module loaded..."
+ sys.exit(1)