From: Zbigniew Jędrzejewski-Szmek Date: Tue, 31 Dec 2013 17:51:46 +0000 (-0500) Subject: build-sys: make test output a bit nicer X-Git-Tag: v209~585 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=9b55cd5665d94e2245a4ca90d2548bbcfe8c34fb build-sys: make test output a bit nicer --- diff --git a/Makefile.am b/Makefile.am index 19d987d90..5f31daa07 100644 --- a/Makefile.am +++ b/Makefile.am @@ -4900,8 +4900,9 @@ install-tree: all # exclude the one perl script we have in there valgrind-tests: $(TESTS) $(AM_V_GEN)for f in $(filter-out %.pl, $^); do \ - echo "Running $$f"; \ + echo -e "$${x}Running $$f"; \ libtool --mode=execute valgrind -q --leak-check=full --max-stackframe=4194400 --error-exitcode=55 $(builddir)/$$f ; \ + x="\n\n"; \ done exported-%: % diff --git a/src/libsystemd-bus/test-bus-marshal.c b/src/libsystemd-bus/test-bus-marshal.c index 069b0848e..317e3a7d6 100644 --- a/src/libsystemd-bus/test-bus-marshal.c +++ b/src/libsystemd-bus/test-bus-marshal.c @@ -262,8 +262,8 @@ int main(int argc, char *argv[]) { fflush(ms); assert_se(!ferror(ms)); - printf("<%.*s>", (int) first_size, first); - printf("<%.*s>", (int) third_size, third); + printf("<%.*s>\n", (int) first_size, first); + printf("<%.*s>\n", (int) third_size, third); assert_se(first_size == third_size); assert_se(memcmp(first, third, third_size) == 0);