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