Change main function
[IRC.git] / Robust / src / Tests / dotest
index a57f1d93fe6b5fb7486d01587cb3f3b11e2d1eca..c724ccf8014e546b262238806e2a56f140740301 100755 (executable)
@@ -1,6 +1,11 @@
 #!/bin/bash
-echo Doing Test $1
-../buildscript $1 $2 &>/dev/null
-$1.bin &> output/$1.output
-diff output/$1.output output/$1.output.goal
-rm $1.bin
+ARG1=$1
+ARG2=$2
+shift
+shift
+
+echo Doing Test $ARG1
+../buildscript $ARG1 $ARG2 &>/dev/null
+$ARG1.bin $@ &> output/$ARG1.output
+diff output/$ARG1.output output/$ARG1.output.goal
+rm $ARG1.bin