equal
deleted
inserted
replaced
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 { |