aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2023-09-05 14:38:56 -0700
committerJunio C Hamano <gitster@pobox.com>2023-09-05 14:38:56 -0700
commit4241eece7944ab1b71bd372d98d547917c327ece (patch)
tree21960c61a637e3cd1e4a0b05d43a31ce4b74026d
parentMerge branch 'js/ci-san-skip-p4-and-svn-tests' (diff)
parenttest-lib: ignore uninteresting LSan output (diff)
downloadgit-4241eece7944ab1b71bd372d98d547917c327ece.tar.gz
git-4241eece7944ab1b71bd372d98d547917c327ece.zip
Merge branch 'jk/test-lsan-denoise-output'
Tests with LSan from time to time seem to emit harmless message that makes our tests unnecessarily flakey; we work it around by filtering the uninteresting output. * jk/test-lsan-denoise-output: test-lib: ignore uninteresting LSan output
-rw-r--r--t/test-lib.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/test-lib.sh b/t/test-lib.sh
index 293caf0f20..5ea5d1d62a 100644
--- a/t/test-lib.sh
+++ b/t/test-lib.sh
@@ -334,6 +334,7 @@ nr_san_dir_leaks_ () {
find "$TEST_RESULTS_SAN_DIR" \
-type f \
-name "$TEST_RESULTS_SAN_FILE_PFX.*" 2>/dev/null |
+ xargs grep -lv "Unable to get registers from thread" |
wc -l
}