pikapython/port/linux/valgrind.sh

10 lines
381 B
Bash
Raw Normal View History

2022-05-02 17:56:38 +08:00
sh only_make.sh
2022-05-02 15:34:32 +08:00
if [ $# == 0 ] ; then
2022-12-10 16:30:43 +08:00
valgrind -s --track-origins=yes --leak-check=full --show-leak-kinds=all --exit-on-first-error=yes --error-exitcode=1 build/test/pikascript_test --num-callers=50
2022-05-02 15:34:32 +08:00
fi
if [ $# == 1 ] ; then
filter=$1
2022-12-10 16:30:43 +08:00
valgrind -s --track-origins=yes --leak-check=full --show-leak-kinds=all build/test/pikascript_test --gtest_filter=$filter --num-callers=50
2022-05-02 15:34:32 +08:00
fi