main_testing5/bfc_test.sh
changeset 482 769bda18a43d
parent 477 a4e1f63157d8
equal deleted inserted replaced
481:e03a0100ec46 482:769bda18a43d
    17 }
    17 }
    18 
    18 
    19 # functional tests
    19 # functional tests
    20 
    20 
    21 function scala_assert {
    21 function scala_assert {
    22   (ulimit -t 30; JAVA_OPTS="-Xmx1g" scala-cli -i "$1" "$2" -e "urbanmain()" 2> /dev/null 1> /dev/null)
    22   (ulimit -t 30; JAVA_OPTS="-Xmx1g" scala-cli -i "$1" "$2" -e "urbanmain()")# 2> /dev/null 1> /dev/null)
    23 }
    23 }
    24 
    24 
    25 # purity test
    25 # purity test
    26 function scala_vars {
    26 function scala_vars {
    27    (sed 's/immutable/ok/g' c$out > cb$out;
    27    (sed 's/immutable/ok/g' c$out > cb$out;