equal
deleted
inserted
replaced
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 -i "$1" -- "$2" -e "" 2> /dev/null 1> /dev/null) |
22 (ulimit -t 30; JAVA_OPTS="-Xmx1g" scala -nc -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 { |
39 then |
39 then |
40 echo -e " --> passed" >> $out |
40 echo -e " --> passed" >> $out |
41 tsts=$(( 0 )) |
41 tsts=$(( 0 )) |
42 else |
42 else |
43 echo -e " --> SCALA DID NOT RUN RE.SCALA\n" >> $out |
43 echo -e " --> SCALA DID NOT RUN RE.SCALA\n" >> $out |
|
44 echo -e " !!!! Have you checked that you are using Scala 2.13.XX (preferably with XX == 10)? !!!\n" >> $out |
|
45 echo -e " !!!! All help-requests and emails where the problems are due to the use of Scala 3 will be quietly ingnored !!!\n" >> $out |
44 tsts=$(( 1 )) |
46 tsts=$(( 1 )) |
45 fi |
47 fi |
46 |
48 |
47 # var, return, ListBuffer test |
49 # var, return, ListBuffer test |
48 # |
50 # |