summaryrefslogtreecommitdiff
path: root/t/t5528-push-default.sh
diff options
context:
space:
mode:
authorLibravatar Thomas Rast <trast@inf.ethz.ch>2013-06-23 20:12:56 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-06-23 12:24:06 -0700
commitff09af3fb8f5bede0de523723bbd00d6ef2ab71e (patch)
tree98e6ecf8847366c214e52d0d78cf2938bb72acdf /t/t5528-push-default.sh
parenttest-lib: self-test that --verbose works (diff)
downloadtgif-ff09af3fb8f5bede0de523723bbd00d6ef2ab71e.tar.xz
test-lib: verbose mode for only tests matching a pattern
With the new --verbose-only=<pattern> option, one can enable --verbose at a per-test granularity. The pattern is matched against the test number, e.g. ./t0000-basic.sh --verbose-only='2[0-2]' to see only the full output of test 20-22, while showing the rest in the one-liner format. As suggested by Jeff King, this takes care to wrap the entire test_expect_* block, but nothing else, in the verbose toggling. We can use the test_start/end functions from the previous commit for the purpose. This is arguably not *too* useful on its own, but makes the next patch easier to follow. Helped-by: Jeff King <peff@peff.net> Signed-off-by: Thomas Rast <trast@inf.ethz.ch> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5528-push-default.sh')
0 files changed, 0 insertions, 0 deletions