equal
deleted
inserted
replaced
22 |
22 |
23 |
23 |
24 # compilation tests |
24 # compilation tests |
25 |
25 |
26 function scala_compile { |
26 function scala_compile { |
27 (ulimit -t 30; JAVA_OPTS="-Xmx1g" scala "$1" 2>> $out 1>> $out) |
27 (ulimit -t 30; JAVA_OPTS="-Xmx1g" scala -nc "$1" 2>> $out 1>> $out) |
28 } |
28 } |
29 |
29 |
30 # functional tests |
30 # functional tests |
31 |
31 |
32 function scala_assert { |
32 function scala_assert { |
33 (ulimit -t 30; JAVA_OPTS="-Xmx1g" scala -i "$1" "$2" -e "" 2> /dev/null 1> /dev/null) |
33 (ulimit -t 30; JAVA_OPTS="-Xmx1g" scala -nc -i "$1" "$2" -e "" 2> /dev/null 1> /dev/null) |
34 } |
34 } |
35 |
35 |
36 # purity test |
36 # purity test |
37 |
37 |
38 function scala_vars { |
38 function scala_vars { |