testing3/knight2_test.sh
changeset 249 1997cfcd6334
parent 248 1616d06a0893
child 266 ca48ac1d3c3e
equal deleted inserted replaced
248:1616d06a0893 249:1997cfcd6334
    21 
    21 
    22 # functional tests
    22 # functional tests
    23 
    23 
    24 
    24 
    25 function scala_assert {
    25 function scala_assert {
    26   (ulimit -t 30; JAVA_OPTS="-Xmx1g" scala -nc -i "$1" "$2" -e "") #2> /dev/null 1> /dev/null)
    26   (ulimit -t 30; JAVA_OPTS="-Xmx1g" scala -nc -i "$1" "$2" -e "" 2> /dev/null 1> /dev/null)
    27 }
    27 }
    28 
    28 
    29 
    29 
    30 
    30 
    31 # purity test
    31 # purity test