From 19547bc72e2fb9a5d314d778b1cbf277c9dd882b Mon Sep 17 00:00:00 2001 From: Nick Bowler Date: Fri, 21 Apr 2017 22:01:48 -0400 Subject: [PATCH] Make library tests verbose. Hard to tell WTF is going on when the commands are suppressed. Get rid of the pass/fail messages too since we don't need suggestions in ebuild logs. --- Makefile | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index 74cbec32d607..cedc40284c94 100644 --- a/Makefile +++ b/Makefile @@ -1013,10 +1013,7 @@ export LIBUUID_TEST test_libuuid: @echo "Testing libuuid..." @echo "$$LIBUUID_TEST" > .uuid_test.c - @$(CC) $(CFLAGS) $(CC_LDFLAGS) -o .uuid_test .uuid_test.c -luuid >/dev/null 2>&1 && \ - echo "libuuid test passed." || \ - ( echo "libuuid test failed. Please install libuuid" ; exit 1) - @rm -f .uuid_test.c .uuid_test + $(CC) $(CFLAGS) $(CC_LDFLAGS) -o .uuid_test .uuid_test.c -luuid define LIBFMAP_TEST #include @@ -1033,10 +1030,7 @@ export LIBFMAP_TEST test_libfmap: @echo "Testing libfmap..." @echo "$$LIBFMAP_TEST" > .fmap_test.c - @$(CC) $(CFLAGS) $(CC_LDFLAGS) -o .fmap_test .fmap_test.c $(FMAP_LINKOPT) >/dev/null 2>&1 && \ - echo "libfmap test passed." || \ - ( echo "libfmap test failed. Please install libfmap (http://flashmap.googlecode.com)"; exit 1 ) - @rm -f .fmap_test.c .fmap_test + $(CC) $(CFLAGS) $(CC_LDFLAGS) -o .fmap_test .fmap_test.c $(FMAP_LINKOPT) libcheck: test_libuuid test_libfmap -- 2.10.2