testing1/drumb_test.sh
changeset 248 1616d06a0893
parent 206 bbe00108a6f3
child 261 8997430d9765
--- a/testing1/drumb_test.sh	Sat Dec 15 13:46:54 2018 +0000
+++ b/testing1/drumb_test.sh	Sat Dec 15 23:58:12 2018 +0000
@@ -17,13 +17,13 @@
 # functional tests
 
 function scala_assert {
-  (ulimit -t 30; JAVA_OPTS="-Xmx1g" scala -i "$1" "$2" -e "") #2> /dev/null 1> /dev/null)
+  (ulimit -t 30; JAVA_OPTS="-Xmx1g" scala -i "$1" "$2" -e "" 2> /dev/null 1> /dev/null)
 }
 
 # purity test
 
 function scala_vars {
-   (egrep '\bvar\b|\breturn\b|\.par|ListBuffer|mutable' "$1" 2> /dev/null 1> /dev/null)
+   (egrep '\bvar\b|\breturn\b|\.par|ListBuffer|mutable|new Array' "$1" 2> /dev/null 1> /dev/null)
 }