summary refs log tree commit diff
path: root/lisc
diff options
context:
space:
mode:
Diffstat (limited to 'lisc')
-rwxr-xr-xlisc/test/go.sh12
1 files changed, 9 insertions, 3 deletions
diff --git a/lisc/test/go.sh b/lisc/test/go.sh
index f0d47ca..86dad1f 100755
--- a/lisc/test/go.sh
+++ b/lisc/test/go.sh
@@ -39,9 +39,9 @@ once() {
 		exit 1
 	fi
 
-	printf "$T... "
+	echo "$T... "
 
-	if ! ./lisc $T -o $ASM 2> /dev/null
+	if ! ./lisc $T -o $ASM
 	then
 		echo "[qbe fail]"
 		return 1
@@ -80,12 +80,18 @@ once() {
 		return 1
 	fi
 
-	echo "[ok]"
+	printf "\033[1A\033[45C[ok]\n"
 }
 
 
 #trap cleanup TERM QUIT
 
+if test -z "$1"
+then
+	echo "usage: test/go.sh {all, SSAFILE}" 2>&1
+	exit 1
+fi
+
 case $1 in
 	"all")
 		F=0