The more tests, the better.
Signed-off-by: Petr Štetiar <[email protected]>
---
tests/shunit2/tests.sh | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/shunit2/tests.sh b/tests/shunit2/tests.sh
index 72c48749feb6..00f56c5e3195 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"
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel