pikapython/port/linux/valgrind.sh
2022-06-06 14:45:37 +08:00

10 lines
326 B
Bash

sh only_make.sh
if [ $# == 0 ] ; then
valgrind -s --track-origins=yes --leak-check=full --show-leak-kinds=all --exit-on-first-error=yes build/test/pikascript_test
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