summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-12-31 12:51:46 -0500
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-12-31 13:00:57 -0500
commit9b55cd5665d94e2245a4ca90d2548bbcfe8c34fb (patch)
tree35099d0983fc8b4fc91e5334a0f3a94b29ea3936
parent7a7c74cae4db0c35cbe54d9bad8418a605cb870f (diff)
build-sys: make test output a bit nicer
-rw-r--r--Makefile.am3
-rw-r--r--src/libsystemd-bus/test-bus-marshal.c4
2 files changed, 4 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am
index 19d987d909..5f31daa07a 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 069b0848e6..317e3a7d63 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);