marking2/danube_test.sh
changeset 228 e1e3e259e9b7
parent 227 37e659cfbb2e
child 229 cfcaf4a5e5b4
equal deleted inserted replaced
227:37e659cfbb2e 228:e1e3e259e9b7
    18 
    18 
    19 
    19 
    20 # compilation tests
    20 # compilation tests
    21 
    21 
    22 function scala_compile {
    22 function scala_compile {
    23   (ulimit -t 30; JAVA_OPTS="-Xmx1g" scala "$1" 2>> $out 1>> $out) 
    23     (ulimit -t 30; JAVA_OPTS="-Xmx1g" scala -nc "$1" 2>> $out 1>> $out)
    24 }
    24 }
    25 
    25 
    26 # functional tests
    26 # functional tests
    27 
    27 
    28 function scala_assert {
    28 function scala_assert {
    29   (ulimit -t 30; JAVA_OPTS="-Xmx1g" scala -i "$1" "$2" -e "" 2> /dev/null 1> /dev/null)
    29   (ulimit -t 30; JAVA_OPTS="-Xmx1g" scala -nc -i "$1" "$2" -e "" 2> /dev/null 1> /dev/null)
    30 }
    30 }
    31 
    31 
    32 # purity test
    32 # purity test
    33 
    33 
    34 function scala_vars {
    34 function scala_vars {