commit 48896b05982aeee4499fb4149672449180545832 parent b39ccc606171a1ac7f7cbf83d29ee773b3b30997 Author: Quentin Carbonneaux <quentin.carbonneaux@yale.edu> Date: Wed, 19 Oct 2016 19:26:00 -0400 improve tests output for contbuild Diffstat:
M | tools/unit.sh | | | 7 | +++---- |
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/tools/unit.sh b/tools/unit.sh @@ -24,8 +24,7 @@ extract() { next } /^# <<</ { - if (p) - p = 0 + p = 0 } p " $FILE \ @@ -42,7 +41,7 @@ once() { exit 1 fi - echo "$(basename $T)..." + printf "%-45s" "$(basename $T)..." if ! $QBE -o $ASM $T then @@ -83,7 +82,7 @@ once() { return 1 fi - printf "\033[1A\033[45C[ok]\n" + echo "[ok]" }