equal
deleted
inserted
replaced
20 |
20 |
21 |
21 |
22 # compilation tests (used to be 30 secs) |
22 # compilation tests (used to be 30 secs) |
23 |
23 |
24 function scala_compile { |
24 function scala_compile { |
25 (ulimit -t 30; JAVA_OPTS="-Xmx1g" scala "$1" 2> /dev/null 1> /dev/null) |
25 (ulimit -t 30; JAVA_OPTS="-Xmx1g" scala -nc "$1" 2> /dev/null 1> /dev/null) |
26 } |
26 } |
27 |
27 |
28 # functional tests |
28 # functional tests |
29 |
29 |
30 function scala_assert { |
30 function scala_assert { |
31 (ulimit -t 30; JAVA_OPTS="-Xmx1g" scala -nc -i "$1" "$2" -e "" 2> /dev/null 1> /dev/null) |
31 (ulimit -t 30; JAVA_OPTS="-Xmx1g" scala -nc -i "$1" "$2" -e "") #2> /dev/null 1> /dev/null) |
32 } |
32 } |
33 |
33 |
34 function scala_assert_long { |
34 function scala_assert_long { |
35 (ulimit -t 60; JAVA_OPTS="-Xmx1g" scala -nc -i "$1" "$2" -e "" 2> /dev/null 1> /dev/null) |
35 (ulimit -t 60; JAVA_OPTS="-Xmx1g" scala -nc -i "$1" "$2" -e "") #2> /dev/null 1> /dev/null) |
36 } |
36 } |
37 |
37 |
38 function scala_assert_elong { |
38 function scala_assert_elong { |
39 (ulimit -t 90; JAVA_OPTS="-Xmx1g" scala -nc -i "$1" "$2" -e "" 2> /dev/null 1> /dev/null) |
39 (ulimit -t 90; JAVA_OPTS="-Xmx1g" scala -nc -i "$1" "$2" -e "") #2> /dev/null 1> /dev/null) |
40 } |
40 } |
41 |
41 |
42 |
42 |
43 # purity test |
43 # purity test |
44 |
44 |