mirror of
https://github.com/eth-p/bat-extras.git
synced 2025-01-19 11:58:11 +01:00
build: Avoid unnecessary reprinting when verifying tests
This commit is contained in:
parent
43ddb984f5
commit
5fbf8adf41
7
build.sh
7
build.sh
@ -461,8 +461,6 @@ if "$OPT_VERIFY"; then
|
||||
SKIP=0
|
||||
while read -r action data1 data2 splat; do
|
||||
[[ "$action" == "result" ]] || continue
|
||||
|
||||
printc_msg "\x1B[G\x1B[K%s" "$data1"
|
||||
case "$data2" in
|
||||
fail)
|
||||
printc_err "\x1B[G\x1B[K%s failed.\n" "$data1"
|
||||
@ -470,8 +468,13 @@ if "$OPT_VERIFY"; then
|
||||
;;
|
||||
|
||||
skip)
|
||||
printc_msg "\x1B[G\x1B[K%s skipped.\n" "$data1"
|
||||
((SKIP++)) || true
|
||||
;;
|
||||
|
||||
*)
|
||||
printc_msg "\x1B[G\x1B[K%s" "$data1"
|
||||
;;
|
||||
esac
|
||||
done < <("${HERE}/test.sh" --compiled --porcelain --jobs=8)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user