testing1/drumb_test.sh
changeset 266 ca48ac1d3c3e
parent 261 8997430d9765
child 281 87b9e3e2c1a7
equal deleted inserted replaced
265:59779ce322a6 266:ca48ac1d3c3e
     9 echo "" >> $out
     9 echo "" >> $out
    10 
    10 
    11 # compilation tests
    11 # compilation tests
    12 
    12 
    13 function scala_compile {
    13 function scala_compile {
    14   (ulimit -t 30; JAVA_OPTS="-Xmx1g" scala -nc "$1" 2>> $out 1>> $out) 
    14   (ulimit -t 30; JAVA_OPTS="-Xmx1g" scala "$1" 2>> $out 1>> $out) 
    15 }
    15 }
    16 
    16 
    17 # functional tests
    17 # functional tests
    18 
    18 
    19 function scala_assert {
    19 function scala_assert {
    20   (ulimit -t 30; JAVA_OPTS="-Xmx1g" scala -nc -i "$1" "$2" -e "" 2> /dev/null 1> /dev/null)
    20   (ulimit -t 30; JAVA_OPTS="-Xmx1g" scala -i "$1" "$2" -e "" 2> /dev/null 1> /dev/null)
    21 }
    21 }
    22 
    22 
    23 # purity test
    23 # purity test
    24 
    24 
    25 function scala_vars {
    25 function scala_vars {