From: Brendan Hansen Date: Wed, 20 Jan 2021 20:27:07 +0000 (-0600) Subject: hopefully fixed bug with github actions printing lots of crap X-Git-Url: https://git.brendanfh.com/?a=commitdiff_plain;h=d5ddec53fa3a3486f8176d87100ebf35f3a746f8;p=onyx.git hopefully fixed bug with github actions printing lots of crap --- diff --git a/bin/test b/bin/test index e5408703..ad67c6fa 100755 --- a/bin/test +++ b/bin/test @@ -1,14 +1,13 @@ #!/bin/sh print_check() { - if [ ! -z "$TERM " ]; then + if [ ! -z "$TERM" ]; then printf "%-$((($(tput cols) - 8)))s" "⏲ Checking $1.onyx" ; else printf "%s ... " "⏲ Checking $1.onyx" ; fi } - failed=0 for test_file in $(find tests/ -name '*.onyx'); do filename=$(basename -- "$test_file")