X-Git-Url: https://ocean-lang.org/code/?a=blobdiff_plain;ds=inline;f=csrc%2Foceani-tests.mdc;h=2433cce68593ee7f01153beec063927f4259b05f;hb=6a546ea265d0ee30152298463e9e7b7c2f53b3b0;hp=3bda937990931927d72c41a28c2e599fcd583aff;hpb=2807385c1276c2bf289b237c2adda757ec19acc8;p=ocean diff --git a/csrc/oceani-tests.mdc b/csrc/oceani-tests.mdc index 3bda937..2433cce 100644 --- a/csrc/oceani-tests.mdc +++ b/csrc/oceani-tests.mdc @@ -80,7 +80,7 @@ arguments separated from the name by commas. For each test, there is a section @mv *.gcov coverage ; [ -f .gcov ] && mv .gcov coverage || true @ awk '/NOTEST/ { next } /^ *[1-9]/ {ran+=1} /^ *###/ {skip+=1} \ END {printf "coverage: %6.2f%%\n", ran * 100 / (ran + skip); \ - if (ran < (ran + skip) *0.94) exit(1) }' \ + if (ran < (ran + skip) *0.948) exit(1) }' \ coverage/oceani.mdc.gcov @rm -f .tmp* @@ -110,7 +110,9 @@ calculations on them. ###### test: valvar - program: + func main + argv:[argc::]string + do a := 23; b:=12 ; b1 := -b print a, b, a+b, a-b, a*b, a/b, a%b print ab, a>=b, a