Skip to content

--valgrind improvements

Thomas Rast git 4 versions New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest8 patches 0 repliesNew
  2. v38 patches 1 replySuperseded
  3. v26 patches 5 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v16 patches15 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8test-lib: enable MALLOC_* for the actual testst/test-lib.sh+2 -00 replies
2/8test-lib: refactor $GIT_SKIP_TESTS matchingt/test-lib.sh+24 -170 replies
3/8test-lib: rearrange start/end of test_expect_* and test_skipt/test-lib-functions.sh t/test-lib.sh+12 -30 replies
4/8test-lib: self-test that --verbose workst/t0000-basic.sh t/test-lib.sh+38 -10 replies
5/8test-lib: verbose mode for only tests matching a patternt/README t/t0000-basic.sh t/test-lib.sh+60 -00 replies
6/8test-lib: valgrind for only tests matching a patternt/README t/test-lib.sh t/valgrind/valgrind.sh+43 -10 replies
7/8test-lib: allow prefixing a custom string before "ok N" etc.t/test-lib.sh+15 -120 replies
8/8test-lib: support running tests under valgrind in parallelt/test-lib.sh+84 -220 replies

Reviews trailers per patch

None of the 8 patches has a Reviewed-by or Acked-by.

PatchJohannes SixtJeff King
1/8
2/8Helped-by
3/8
4/8
5/8Helped-by
6/8
7/8
8/8Helped-by

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/8] --valgrind improvements
Quoted 9 lines

Please hold off; Fredrik found an issue with the test automation that bisects to "verbose mode for only tests matching a pattern"; when running with the 'test' target (not with prove however), the suite reports

failed test(s):

fixed 0
success 9788

Quoted 8 lines
  failed  2
  broken  69
  total   9989

Even worse, I botched a rebase that makes the commit before -- "self-test that --verbose works" untestable. I'm pretty sure that it has the same problem, too, though I'm still investigating the actual issue.

This should fix it. The culprit was that the test suite generates .counts files when not under $TEST_HARNESS, and these are seen and reported by aggregate-results. So this version changes 4/8 to set TEST_HARNESS, instead of unsetting it.

Sorry for the trouble.

Thomas Rast (8):
test-lib: enable MALLOC_* for the actual tests
test-lib: refactor $GIT_SKIP_TESTS matching
test-lib: rearrange start/end of test_expect_* and test_skip
test-lib: self-test that --verbose works
test-lib: verbose mode for only tests matching a pattern
test-lib: valgrind for only tests matching a pattern
test-lib: allow prefixing a custom string before "ok N" etc.
test-lib: support running tests under valgrind in parallel

 t/README                |  10 ++
 t/t0000-basic.sh        |  61 +++++++++++-
 t/test-lib-functions.sh |   6 +-
 t/test-lib.sh           | 246 ++++++++++++++++++++++++++++++++++++++----------
 t/valgrind/valgrind.sh  |   3 +
 5 files changed, 274 insertions(+), 52 deletions(-)
Signature · 1 line
1.8.3.1.727.gcbe3af3