pikapython/port/linux/valgrind.sh

10 lines
300 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-05-02 18:11:12 +08:00
valgrind -s --track-origins=yes --leak-check=full --show-leak-kinds=all build/test/pikascript_test
2022-05-02 15:34:32 +08:00
fi
if [ $# == 1 ] ; then
filter=$1
valgrind --track-origins=yes --leak-check=full --show-leak-kinds=all build/test/pikascript_test --gtest_filter=$filter
fi