[PATCH 09/33] build system: make check now runs the testsuite.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This also means that the tests' helpers need to be built during the
check phase rather than the all phase, allowing a shorter build time
if you're not running tests.

Signed-off-by: Diego Elio 'Flameeyes' Pettenò <flameeyes@xxxxxxxxx>
---
 Makefile.am |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 1b97292..b6195fd 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -91,8 +91,10 @@ EXTRA_DIST = \
 		tools \
 		docs
 
-noinst_PROGRAMS = tests/helpers/test_sysinfo tests/helpers/test_pathnames tests/helpers/test_byteswap \
-		  tests/helpers/test_md5
+TESTS = tests/run.sh
+
+check_PROGRAMS = tests/helpers/test_sysinfo tests/helpers/test_pathnames tests/helpers/test_byteswap \
+		 tests/helpers/test_md5
 
 tests_helpers_test_md5_SOURCES = tests/helpers/test_md5.c lib/md5.c
 
-- 
1.7.1.1

--
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux