chiark / gitweb /
build-sys: make test output a bit nicer
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 31 Dec 2013 17:51:46 +0000 (12:51 -0500)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 31 Dec 2013 18:00:57 +0000 (13:00 -0500)
Makefile.am
src/libsystemd-bus/test-bus-marshal.c

index 19d987d909a75f5661d8d2841abf8b24ab14e69f..5f31daa07ab8972456d63640c8feb6960b0d2e03 100644 (file)
@@ -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 \
 # 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 ; \
                libtool --mode=execute valgrind -q --leak-check=full --max-stackframe=4194400 --error-exitcode=55 $(builddir)/$$f ; \
+               x="\n\n"; \
        done
 
 exported-%: %
        done
 
 exported-%: %
index 069b0848e644fac7c6dbdbc71ab42f13e9a78518..317e3a7d634613a3209d9debd3646f55db2cfc48 100644 (file)
@@ -262,8 +262,8 @@ int main(int argc, char *argv[]) {
         fflush(ms);
         assert_se(!ferror(ms));
 
         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);
 
         assert_se(first_size == third_size);
         assert_se(memcmp(first, third, third_size) == 0);