equal
deleted
inserted
replaced
14 |
14 |
15 |
15 |
16 # compilation tests |
16 # compilation tests |
17 |
17 |
18 function scala_compile { |
18 function scala_compile { |
19 (ulimit -t 30; JAVA_OPTS="-Xmx1g" scala -nc "$1" 2>> $out 1>> $out) |
19 (ulimit -t 30; JAVA_OPTS="-Xmx1g" scala "$1" 2>> $out 1>> $out) |
20 } |
20 } |
21 |
21 |
22 # functional tests |
22 # functional tests |
23 |
23 |
24 |
24 |
25 function scala_assert { |
25 function scala_assert { |
26 (ulimit -t 30; JAVA_OPTS="-Xmx1g" scala -nc -i "$1" "$2" -e "" 2> /dev/null 1> /dev/null) |
26 (ulimit -t 30; JAVA_OPTS="-Xmx1g" scala -i "$1" "$2" -e "" 2> /dev/null 1> /dev/null) |
27 } |
27 } |
28 |
28 |
29 |
29 |
30 |
30 |
31 # purity test |
31 # purity test |