summaryrefslogtreecommitdiffstats
path: root/libmount/python
diff options
context:
space:
mode:
authorRuediger Meier2014-06-04 00:17:58 +0200
committerRuediger Meier2014-06-04 10:14:24 +0200
commit15b2606c4f86dbb73abf41cdecfba7f65fd5bb22 (patch)
treed195e146471c5b31f52e5721fed31c4bcf947d4f /libmount/python
parentbuild-sys: fix update-potfiles script (diff)
downloadkernel-qcow2-util-linux-15b2606c4f86dbb73abf41cdecfba7f65fd5bb22.tar.gz
kernel-qcow2-util-linux-15b2606c4f86dbb73abf41cdecfba7f65fd5bb22.tar.xz
kernel-qcow2-util-linux-15b2606c4f86dbb73abf41cdecfba7f65fd5bb22.zip
tests: fix python tests for dist and out-of-tree builds
- add python helper scripts to the dist - helper scripts are always in srcdir - python libs are in builddir - abort tests if helpers are missing Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
Diffstat (limited to 'libmount/python')
-rw-r--r--libmount/python/Makemodule.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/libmount/python/Makemodule.am b/libmount/python/Makemodule.am
index aeb76d75f..367d32472 100644
--- a/libmount/python/Makemodule.am
+++ b/libmount/python/Makemodule.am
@@ -26,6 +26,10 @@ pylibmount_la_CFLAGS = \
pylibmount_la_LDFLAGS = \
-avoid-version -module -shared -export-dynamic
+dist_check_SCRIPTS += libmount/python/test_mount_context.py
+dist_check_SCRIPTS += libmount/python/test_mount_tab.py
+dist_check_SCRIPTS += libmount/python/test_mount_tab_update.py
+
CLEANFILES += *.img
endif # BUILD_PYLIBMOUNT