Skip to content

Commit 7d80812

Browse files
committed
Merge branch 'ab/tap' into maint
* ab/tap: test-lib: Remove 3 year old no-op --no-python option test-lib: Ignore --quiet under a TAP harness
2 parents ac2e1e6 + d596f33 commit 7d80812

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

t/test-lib.sh

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -127,14 +127,13 @@ do
127127
-v|--v|--ve|--ver|--verb|--verbo|--verbos|--verbose)
128128
verbose=t; shift ;;
129129
-q|--q|--qu|--qui|--quie|--quiet)
130-
quiet=t; shift ;;
130+
# Ignore --quiet under a TAP::Harness. Saying how many tests
131+
# passed without the ok/not ok details is always an error.
132+
test -z "$HARNESS_ACTIVE" && quiet=t; shift ;;
131133
--with-dashes)
132134
with_dashes=t; shift ;;
133135
--no-color)
134136
color=; shift ;;
135-
--no-python)
136-
# noop now...
137-
shift ;;
138137
--va|--val|--valg|--valgr|--valgri|--valgrin|--valgrind)
139138
valgrind=t; verbose=t; shift ;;
140139
--tee)

0 commit comments

Comments
 (0)