diff options
| author | Petr Štetiar | 2019-11-04 17:18:36 +0000 |
|---|---|---|
| committer | Petr Štetiar | 2019-11-14 16:11:34 +0000 |
| commit | 1637d29186923bf75c015a9c27e3bbfc951a488c (patch) | |
| tree | 7900a89312ace465cd6a62ae3c4fa6a6489b9693 | |
| parent | c1af73bfb0231f2ae3ed4bc376f4a347902fa607 (diff) | |
| download | uci-1637d29186923bf75c015a9c27e3bbfc951a488c.tar.gz | |
tests: shunit2: run all tests under Valgrind by default
The more tests, the better.
Signed-off-by: Petr Štetiar <ynezz@true.cz>
| -rwxr-xr-x | tests/shunit2/tests.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/shunit2/tests.sh b/tests/shunit2/tests.sh index 72c4874..00f56c5 100755 --- 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" |