aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJose Bollo <jose.bollo@iot.bzh>2018-07-06 15:05:22 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2018-07-08 21:27:48 +0200
commit44b24775deb71c45c474ff97553a1514674bf2ad (patch)
tree74828e6b843d6009631e7fdc89d875477215e9e4
parent171e010be010b65ebd77c4b8dc6da43426739a62 (diff)
coverage: Add valgrind diagnostics
Change-Id: I047f6a1946ba523776abf9f252a3938e945c8028 Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
-rwxr-xr-xcoverage/scripts/run-test.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/coverage/scripts/run-test.sh b/coverage/scripts/run-test.sh
index ef280b64..26ade877 100755
--- a/coverage/scripts/run-test.sh
+++ b/coverage/scripts/run-test.sh
@@ -9,6 +9,11 @@ $R/bin/afb-daemon-cov --version > /dev/null
$R/bin/afb-daemon-cov --fake-option > /dev/null
+valgrind \
+ --log-file=$R/valgrind.out \
+ --trace-children=no \
+ --track-fds=yes \
+ --leak-check=full \
$R/bin/afb-daemon-cov \
--verbose \
--verbose \