core_testing3/postfix_test.sh
changeset 481 e03a0100ec46
parent 477 a4e1f63157d8
equal deleted inserted replaced
480:a623dd1f2898 481:e03a0100ec46
    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;