]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
build-sys: move tests to check_PROGRAMS
authorKarel Zak <kzak@redhat.com>
Mon, 30 Jul 2012 15:59:16 +0000 (17:59 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 30 Jul 2012 15:59:16 +0000 (17:59 +0200)
Thanks to Mike Frysinger.

Signed-off-by: Karel Zak <kzak@redhat.com>
Documentation/howto-tests.txt
Makefile.am
lib/Makemodule.am
libblkid/samples/Makemodule.am
libblkid/src/Makemodule.am
libmount/src/Makemodule.am
libuuid/src/Makemodule.am
login-utils/Makemodule.am
tests/helpers/Makemodule.am

index c812a39290b3bc5a64dd89b87800e3a88d10a8a7..06abba7814190f0eac65a5cdd3f12428ffa6d524 100644 (file)
@@ -5,6 +5,9 @@
  It's expected that for each invasive change or important bugfix you will
  include a test to your patch.
 
+ Compile tests:
+
+       make check
 
  Run all tests:
 
index 1aeca791ecfd457005e10e2824903d584b0309a8..6a248e6025ab3b198ce9f1f9982dc84865815060 100644 (file)
@@ -40,6 +40,7 @@ sbin_PROGRAMS =
 dist_usrbin_exec_SCRIPTS =
 systemdsystemunit_DATA =
 ruman1_DATA =
+check_PROGRAMS =
 
 INSTALL_EXEC_HOOKS =
 UNINSTALL_HOOKS =
index 064cc9f4e7fae8b70029f858efad372a858772a5..6a6e9b25931b3836022e636e65eda996b9743e94 100644 (file)
@@ -34,7 +34,7 @@ if !HAVE_LANGINFO
 libcommon_la_SOURCES += lib/langinfo.c
 endif
 
-noinst_PROGRAMS += \
+check_PROGRAMS += \
        test_at \
        test_blkdev \
        test_canonicalize \
@@ -50,9 +50,9 @@ noinst_PROGRAMS += \
 
 if LINUX
 if HAVE_CPU_SET_T
-noinst_PROGRAMS += test_cpuset
+check_PROGRAMS += test_cpuset
 endif
-noinst_PROGRAMS += \
+check_PROGRAMS += \
        test_sysfs \
        test_loopdev
 endif
index f76457a6d2b92793da5e7717cdbf4118091d040f..0ffbf14773c8b0f82c04fb47517bc9f82a794634 100644 (file)
@@ -1,5 +1,5 @@
 
-noinst_PROGRAMS += \
+check_PROGRAMS += \
        sample-mkfs \
        sample-partitions \
        sample-superblocks \
index af1764c6fd522acb6689487d3be5cd7544bb9dd6..b168c7c1e9885e24aade230472197306110998f1 100644 (file)
@@ -131,7 +131,7 @@ EXTRA_DIST += \
        libblkid/src/blkid.sym \
        libblkid/src/blkid.h.in
 
-noinst_PROGRAMS += \
+check_PROGRAMS += \
        test_blkid_cache \
        test_blkid_config \
        test_blkid_dev \
index 211834e7ff2f57d3e80a95add1eb2d3877322b2b..8a6b2adf7e70c8cdf61c46c72f3cef79116b220e 100644 (file)
@@ -50,7 +50,7 @@ EXTRA_DIST += \
        libmount/src/libmount.sym \
        libmount/src/libmount.h.in
 
-noinst_PROGRAMS += \
+check_PROGRAMS += \
        test_mount_cache \
        test_mount_context \
        test_mount_lock \
index 2332fe24fd0085ee54d09ee56aa35d61c8e6bf6b..73f1ba9570a879450e0c3a7127fdbefacef367a8 100644 (file)
@@ -1,5 +1,5 @@
 
-noinst_PROGRAMS += test_uuid
+check_PROGRAMS += test_uuid
 test_uuid_SOURCES = libuuid/src/test_uuid.c
 test_uuid_LDADD = libuuid.la $(SOCKET_LIBS)
 test_uuid_CFLAGS = -I$(ul_libuuid_incdir)
index 85a3815ab1b1316d1276f39710b7ba588233d635..41e32aa3e17d5a769c55e8c99b538c579662aa0c 100644 (file)
@@ -122,7 +122,7 @@ INSTALL_EXEC_HOOKS += install-exec-hook-vipw
 endif # BUILD_VIPW
 
 
-noinst_PROGRAMS += \
+check_PROGRAMS += \
        test_islocal \
        test_logindefs
 
index 0228cb32758ddb17e5445868aa563283a80e073f..9724dae0928423a0f770f4c2f8eb195641268547 100644 (file)
@@ -1,12 +1,12 @@
 
-noinst_PROGRAMS += test_byteswap
+check_PROGRAMS += test_byteswap
 test_byteswap_SOURCES = tests/helpers/test_byteswap.c
 
-noinst_PROGRAMS += test_md5
+check_PROGRAMS += test_md5
 test_md5_SOURCES = tests/helpers/test_md5.c lib/md5.c
 
-noinst_PROGRAMS += test_pathnames
+check_PROGRAMS += test_pathnames
 test_pathnames_SOURCES = tests/helpers/test_pathnames.c
 
-noinst_PROGRAMS += test_sysinfo
+check_PROGRAMS += test_sysinfo
 test_sysinfo_SOURCES = tests/helpers/test_sysinfo.c