diff options
author | Ruediger Meier | 2014-06-04 00:17:58 +0200 |
---|---|---|
committer | Ruediger Meier | 2014-06-04 10:14:24 +0200 |
commit | 15b2606c4f86dbb73abf41cdecfba7f65fd5bb22 (patch) | |
tree | d195e146471c5b31f52e5721fed31c4bcf947d4f /libmount/python | |
parent | build-sys: fix update-potfiles script (diff) | |
download | kernel-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.am | 4 |
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 |