From 5dfc368f5ec4c448cf3c76908b4c0e77cb4b902a Mon Sep 17 00:00:00 2001 From: Thomas Rast Date: Sun, 23 Jun 2013 20:12:57 +0200 Subject: test-lib: valgrind for only tests matching a pattern With the new --valgrind-only= 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= implies --verbose-only= unless --verbose is also in effect. Signed-off-by: Thomas Rast Signed-off-by: Junio C Hamano --- t/README | 5 +++++ 1 file changed, 5 insertions(+) (limited to 't/README') diff --git a/t/README b/t/README index 9c8f9b19fd..bffd484341 100644 --- a/t/README +++ b/t/README @@ -126,6 +126,11 @@ appropriately before running "make". the 't/valgrind/' directory and use the commands under 't/valgrind/bin/'. +--valgrind-only=:: + Like --valgrind, but the effect is limited to tests with + numbers matching . 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'. -- cgit v1.2.3