test-lib: valgrind for only tests matching a pattern
commit5dfc368f5ec4c448cf3c76908b4c0e77cb4b902a
authorThomas Rast <trast@inf.ethz.ch>
Sun, 23 Jun 2013 18:12:57 +0000 (23 20:12 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sun, 23 Jun 2013 19:24:06 +0000 (23 12:24 -0700)
treed00694edc2d230ecd0a1a980a6cab196d49b83fa
parentff09af3fb8f5bede0de523723bbd00d6ef2ab71e
test-lib: valgrind for only tests matching a pattern

With the new --valgrind-only=<pattern> option, one can enable
--valgrind at a per-test granularity, exactly analogous to
--verbose-only from the previous commit.

The options are wired such that --valgrind implies --verbose (as
before), but --valgrind-only=<pattern> implies
--verbose-only=<pattern> unless --verbose is also in effect.

Signed-off-by: Thomas Rast <trast@inf.ethz.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/README
t/test-lib.sh
t/valgrind/valgrind.sh