projects
/
project
/
uci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1af73b
)
tests: shunit2: run all tests under Valgrind by default
author
Petr Štetiar
<ynezz@true.cz>
Mon, 4 Nov 2019 17:18:36 +0000
(18:18 +0100)
committer
Petr Štetiar
<ynezz@true.cz>
Thu, 14 Nov 2019 16:11:34 +0000
(17:11 +0100)
The more tests, the better.
Signed-off-by: Petr Štetiar <ynezz@true.cz>
tests/shunit2/tests.sh
patch
|
blob
|
history
diff --git
a/tests/shunit2/tests.sh
b/tests/shunit2/tests.sh
index 72c48749feb6e64469f66a85804daef1b67cc87f..00f56c5e319594d9e90871fe7ae9686593b48580 100755
(executable)
--- a/
tests/shunit2/tests.sh
+++ b/
tests/shunit2/tests.sh
@@
-11,6
+11,8
@@
UCI_BIN=${UCI_BIN:-"../uci"}
echo "uci is not present." >&2
return 1
}
+VALGRIND="valgrind --quiet --show-leak-kinds=all --leak-check=full --track-origins=yes"
+UCI_BIN="${VALGRIND} ${UCI_BIN}"
UCI="${UCI_BIN} -c ${CONFIG_DIR} -p ${CHANGES_DIR}"
UCI_Q="${UCI_BIN} -c ${CONFIG_DIR} -p ${CHANGES_DIR} -q"