diff options
author | Thomas Rast <trast@inf.ethz.ch> | 2013-06-23 20:12:57 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-06-23 12:24:06 -0700 |
commit | 5dfc368f5ec4c448cf3c76908b4c0e77cb4b902a (patch) | |
tree | d00694edc2d230ecd0a1a980a6cab196d49b83fa /t/README | |
parent | ff09af3fb8f5bede0de523723bbd00d6ef2ab71e (diff) | |
download | git-5dfc368f5ec4c448cf3c76908b4c0e77cb4b902a.tar.gz git-5dfc368f5ec4c448cf3c76908b4c0e77cb4b902a.tar.xz |
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>
Diffstat (limited to 't/README')
-rw-r--r-- | t/README | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -126,6 +126,11 @@ appropriately before running "make". the 't/valgrind/' directory and use the commands under 't/valgrind/bin/'. +--valgrind-only=<pattern>:: + Like --valgrind, but the effect is limited to tests with + numbers matching <pattern>. The number matched against is + simply the running count of the test within the file. + --tee:: In addition to printing the test output to the terminal, write it to files named 't/test-results/$TEST_NAME.out'. |