pikapython/port/linux/fast_test.sh

14 lines
256 B
Bash
Raw Normal View History

2022-04-29 01:13:41 +08:00
ROOT=$PWD
rm $(find build -name *.gcda) -f
2022-10-25 13:47:15 +08:00
cd build && rm ./test/pikascript_test -f && ninja -j0
2022-04-29 01:13:41 +08:00
cd $ROOT
if [ $# == 0 ] ; then
build/test/pikascript_test
fi
if [ $# == 1 ] ; then
filter=$1
build/test/pikascript_test --gtest_filter=$filter
fi