X-Git-Url: https://ocean-lang.org/code/?p=ocean;a=blobdiff_plain;f=csrc%2Foceani-tests.mdc;h=881fee7229e7642869bca66b3cc79c9d808ad63d;hp=11c3f19ffcd93a4c8760d9cbe85a3505befd46ae;hb=5a438bb96ff5bd82e67312b79f593ecfcbf32529;hpb=85e747e065a6f4b2236acc8b3a2471de4d831c95 diff --git a/csrc/oceani-tests.mdc b/csrc/oceani-tests.mdc index 11c3f19..881fee7 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.9495) exit(1) }' \ + if (ran < (ran + skip) *0.944) 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