diff --git a/tests/army/tools/runcase.sh b/tests/army/tools/runcase.sh index df5723e947..57bc06b52c 100644 --- a/tests/army/tools/runcase.sh +++ b/tests/army/tools/runcase.sh @@ -1,7 +1,16 @@ +# +# copy this file to tests/army/ folder to running +# set -e -count=0 +count=0 +nskip=1000 for i in `find tools/benchmark/basic/ -name "*.py"` do printf "\n\n ***** cnt=$count python3 test.py -f $i *****\n\n" + if [ "$count" -lt "$nskip" ]; then + printf "skip $count ... \n" + ((count=count+1)) + continue # less than nskip, contine + fi python3 test.py -f $i ((count=count+1)) done @@ -15,4 +24,4 @@ for i in `find tools/taosdump/native/ -name "*.py"` ((count=count+1)) done -echo "taosdump/native count=$count \n" \ No newline at end of file +