mirror of
https://github.com/systemd/systemd.git
synced 2024-10-27 18:55:40 +03:00
build-sys: make test output a bit nicer
This commit is contained in:
parent
7a7c74cae4
commit
9b55cd5665
@ -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-%: %
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user