X-Git-Url: https://ocean-lang.org/code/?a=blobdiff_plain;f=csrc%2Foceani-tests.mdc;h=2433cce68593ee7f01153beec063927f4259b05f;hb=6a546ea265d0ee30152298463e9e7b7c2f53b3b0;hp=87b0206261b46ee68ff1959c776a1e732f284cdd;hpb=710bd5e34f120ccc520d60839420603772408a0f;p=ocean diff --git a/csrc/oceani-tests.mdc b/csrc/oceani-tests.mdc index 87b0206..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.9469) 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