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