Fix possible staled flann index (#1742)

* Fix possible staled flann index

* fixed compatible crc flann index after repair and reload

* Added tests

* test coverage

* testing another possible branch

* removed doxygen tag version not opulated yet

* updated codedev to ignore test code

* Disabled all mac intel ci flaky builds
This commit is contained in:
matlabbe
2026-08-07 20:48:41 -07:00
committed by GitHub
parent c5ecfef101
commit 47ce2b0c74
11 changed files with 488 additions and 33 deletions

View File

@@ -134,9 +134,16 @@ echo "Filtering coverage data (repo sources only)..."
lcov "${LCOV_IGNORE[@]}" --extract "$INFO_FILE" \
"${ROOT}/*" \
--output-file "$INFO_FILE"
# The test sources are the instrument, not the subject: a line in a test counts
# as uncovered only when the test skipped it (a defensive cleanup branch, a
# platform guard), which says nothing about the library. They are also
# near-fully covered by construction, so leaving them in inflates the overall
# number. Kept in sync with the same list in .github/workflows/coverage.yml.
lcov "${LCOV_IGNORE[@]}" --remove "$INFO_FILE" \
'*/sqlite3/*' \
'*/rtflann/*' \
'*/corelib/test/*' \
'*/utilite/test/*' \
--output-file "$INFO_FILE"
echo "Generating HTML..."