summaryrefslogtreecommitdiff
path: root/t/test-lib.sh
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2010-08-02 11:53:58 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-08-02 11:53:58 -0700
commit7d808125a0197e5660a57f77d14937604b16e39a (patch)
tree2cae786324401f909cfd54828b18b8719225d85e /t/test-lib.sh
parentDocumentation/rev-parse: quoting is required with --parseopt (diff)
parenttest-lib: Remove 3 year old no-op --no-python option (diff)
downloadtgif-7d808125a0197e5660a57f77d14937604b16e39a.tar.xz
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
Diffstat (limited to 't/test-lib.sh')
-rw-r--r--t/test-lib.sh7
1 files changed, 3 insertions, 4 deletions
diff --git a/t/test-lib.sh b/t/test-lib.sh
index e5523dd690..e8f21d577c 100644
--- a/t/test-lib.sh
+++ b/t/test-lib.sh
@@ -127,14 +127,13 @@ do
-v|--v|--ve|--ver|--verb|--verbo|--verbos|--verbose)
verbose=t; shift ;;
-q|--q|--qu|--qui|--quie|--quiet)
- quiet=t; shift ;;
+ # Ignore --quiet under a TAP::Harness. Saying how many tests
+ # passed without the ok/not ok details is always an error.
+ test -z "$HARNESS_ACTIVE" && quiet=t; shift ;;
--with-dashes)
with_dashes=t; shift ;;
--no-color)
color=; shift ;;
- --no-python)
- # noop now...
- shift ;;
--va|--val|--valg|--valgr|--valgri|--valgrin|--valgrind)
valgrind=t; verbose=t; shift ;;
--tee)