mirror of
https://github.com/systemd/systemd.git
synced 2024-11-30 13:53:39 +08:00
build-sys: add a makefile target to run all tests through valgrind
This commit is contained in:
parent
87b20a8118
commit
cac914e643
@ -4588,3 +4588,8 @@ install-tree: all
|
||||
rm -rf $(abs_srcdir)/install-tree
|
||||
$(MAKE) install DESTDIR=$(abs_srcdir)/install-tree
|
||||
tree $(abs_srcdir)/install-tree
|
||||
|
||||
# Let's run all tests of the test suite, but under valgrind. Let's
|
||||
# exclude the one perl script we have in there
|
||||
valgrind-tests: $(TESTS)
|
||||
for f in $(TESTS) ; do [ "$$f" == "$${f/.pl/}" ] && libtool --mode=execute valgrind --leak-check=full --error-exitcode=55 $(builddir)/$$f ; done
|
||||
|
Loading…
Reference in New Issue
Block a user