chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87b20a8
)
build-sys: add a makefile target to run all tests through valgrind
author
Lennart Poettering
<lennart@poettering.net>
Wed, 9 Oct 2013 02:02:54 +0000
(
04:02
+0200)
committer
Lennart Poettering
<lennart@poettering.net>
Wed, 9 Oct 2013 02:08:00 +0000
(
04:08
+0200)
Makefile.am
patch
|
blob
|
history
diff --git
a/Makefile.am
b/Makefile.am
index 49e41ec28cdc92ca6acb78d19bdb3d852fdb6101..31dde6f03f4eb06a202753c55d824d2f6c2152b8 100644
(file)
--- a/
Makefile.am
+++ b/
Makefile.am
@@
-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