summaryrefslogtreecommitdiffstats
path: root/libmount/src/Makemodule.am
diff options
context:
space:
mode:
authorOndrej Oprala2014-07-31 13:23:07 +0200
committerKarel Zak2014-08-13 12:33:47 +0200
commit14ad2353ccabc330412baff5fe86592f2618cdee (patch)
tree43e0d6eb8674c60ba1a6be0d879f3d62d28c9a51 /libmount/src/Makemodule.am
parentlibfdisk: rename fdisk_column to fdisk_field (diff)
downloadkernel-qcow2-util-linux-14ad2353ccabc330412baff5fe86592f2618cdee.tar.gz
kernel-qcow2-util-linux-14ad2353ccabc330412baff5fe86592f2618cdee.tar.xz
kernel-qcow2-util-linux-14ad2353ccabc330412baff5fe86592f2618cdee.zip
libs/debug: accept human readable names for _DEBUG=
For example $ LIBMOUNT_DEBUG=tab,cache findmnt to debug only TAB and CACHE subsystem. Signed-off-by: Ondrej Oprala <ooprala@redhat.com> Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libmount/src/Makemodule.am')
-rw-r--r--libmount/src/Makemodule.am8
1 files changed, 7 insertions, 1 deletions
diff --git a/libmount/src/Makemodule.am b/libmount/src/Makemodule.am
index 54ab51d3e..d21179a9c 100644
--- a/libmount/src/Makemodule.am
+++ b/libmount/src/Makemodule.am
@@ -63,7 +63,8 @@ check_PROGRAMS += \
test_mount_tab_diff \
test_mount_tab_update \
test_mount_utils \
- test_mount_version
+ test_mount_version \
+ test_mount_debug
libmount_tests_cflags = -DTEST_PROGRAM $(libmount_la_CFLAGS)
libmount_tests_ldflags = libblkid.la -static
@@ -118,6 +119,11 @@ test_mount_version_CFLAGS = $(libmount_tests_cflags)
test_mount_version_LDFLAGS = $(libmount_tests_ldflags)
test_mount_version_LDADD = $(libmount_tests_ldadd)
+test_mount_debug_SOURCES = libmount/src/init.c
+test_mount_debug_CFLAGS = $(libmount_tests_cflags)
+test_mount_debug_LDFLAGS = $(libmount_tests_ldflags)
+test_mount_debug_LDADD = $(libmount_tests_ldadd)
+
endif # BUILD_LIBMOUNT_TESTS