enh: runcase add skip case function
This commit is contained in:
parent
180eab089e
commit
1e61c7976c
|
@ -1,7 +1,16 @@
|
||||||
|
#
|
||||||
|
# copy this file to tests/army/ folder to running
|
||||||
|
#
|
||||||
set -e
|
set -e
|
||||||
count=0
|
count=0
|
||||||
|
nskip=1000
|
||||||
for i in `find tools/benchmark/basic/ -name "*.py"`
|
for i in `find tools/benchmark/basic/ -name "*.py"`
|
||||||
do printf "\n\n ***** cnt=$count python3 test.py -f $i *****\n\n"
|
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
|
python3 test.py -f $i
|
||||||
((count=count+1))
|
((count=count+1))
|
||||||
done
|
done
|
||||||
|
@ -15,4 +24,4 @@ for i in `find tools/taosdump/native/ -name "*.py"`
|
||||||
((count=count+1))
|
((count=count+1))
|
||||||
done
|
done
|
||||||
|
|
||||||
echo "taosdump/native count=$count \n"
|
|
||||||
|
|
Loading…
Reference in New Issue