main_testing5/bfc_test.sh
changeset 477 a4e1f63157d8
parent 475 59e005dcf163
child 482 769bda18a43d
equal deleted inserted replaced
476:7550c816187a 477:a4e1f63157d8
    11 echo -e "" >> $out
    11 echo -e "" >> $out
    12 
    12 
    13 # compilation tests
    13 # compilation tests
    14 
    14 
    15 function scala_compile {
    15 function scala_compile {
    16   (ulimit -t 30; JAVA_OPTS="-Xmx1g" scala-cli compile "$1" 2> c$out 1> c$out)
    16   (ulimit -t 30; JAVA_OPTS="-Xmx1g" scala-cli compile -Xprint:parser "$1" 2> c$out 1> c$out)
    17 }
    17 }
    18 
    18 
    19 # functional tests
    19 # functional tests
    20 
    20 
    21 function scala_assert {
    21 function scala_assert {