From a515ea364fdc63f2e687286cc9d43c3072f7337f Mon Sep 17 00:00:00 2001 From: Quentin Carbonneaux Date: Thu, 3 Mar 2016 13:24:31 -0500 Subject: nicer aligned okays --- lisc/test/go.sh | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'lisc/test') 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 -- cgit 1.4.1