diff options
| author | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2016-10-19 19:26:00 -0400 |
|---|---|---|
| committer | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2016-10-19 19:36:33 -0400 |
| commit | 48896b05982aeee4499fb4149672449180545832 (patch) | |
| tree | be6f22006c0008c3272ba45314a443988d17901c /tools | |
| parent | b39ccc606171a1ac7f7cbf83d29ee773b3b30997 (diff) | |
| download | roux-48896b05982aeee4499fb4149672449180545832.tar.gz | |
improve tests output for contbuild
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/unit.sh | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/tools/unit.sh b/tools/unit.sh index 756a994..e21bf77 100755 --- 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]" } |
