Skip to content

lsan test-lib readability

Jeff King git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3test-lib: invert return value of check_test_results_san_file_emptyt/test-lib-functions.sh t/test-lib.sh+5 -50 replies
2/3test-lib: simplify lsan results checkt/test-lib.sh+1 -65 replies
3/3test-lib: add a few comments to LSan log checkingt/test-lib.sh+5 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] lsan test-lib readability
Quoted 6 lines · Jeff King

[1/6]: test-lib: use individual lsan dir for --stress runs [2/6]: Revert "index-pack: spawn threads atomically" [3/6]: test-lib: rely on logs to detect leaks [4/6]: test-lib: simplify leak-log checking
[5/6]: test-lib: check leak logs for presence of DEDUP_TOKEN [6/6]: test-lib: ignore leaks in the sanitizer's thread code

And here are a few cosmetic improvements on top based on the review from Patrick. They should apply on top of jk/lsan-race-ignore-false-positive, though that is also in 'master' now.

[1/3]: test-lib: invert return value of check_test_results_san_file_empty [2/3]: test-lib: simplify lsan results check
[3/3]: test-lib: add a few comments to LSan log checking

 t/test-lib-functions.sh |  2 +-
 t/test-lib.sh           | 20 ++++++++++----------
 2 files changed, 11 insertions(+), 11 deletions(-)

-Peff