diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-21 23:57:34 -0400 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-21 23:57:34 -0400 |
| commit | fb867366f4760da94f732c296601f7c324de0418 (patch) | |
| tree | 317c1b1dafb622c12572b6c907e7104114751dbd /scripts/roam-sync.sh | |
| parent | ed27e3c760bdc924edcba85bc99ed083df484086 (diff) | |
| download | rulesets-fb867366f4760da94f732c296601f7c324de0418.tar.gz rulesets-fb867366f4760da94f732c296601f7c324de0418.zip | |
fix(elisp): exclude generated package files from coverage source scan
cj/coverage-summary--source-files scanned SOURCE-DIR for *.el and treated every match as testable source. Build tools write NAME-autoloads.el and NAME-pkg.el into that dir, and undercover never instruments them, so the missing-file detection counted each as untested at 0% and dragged the file-weighted project number down. emacs-wttrin read 72.9% instead of 97.2% after eask wrote its autoloads file during a coverage run.
seq-remove the generated files before returning. A genuinely untested source is still flagged. The new test asserts both.
Diffstat (limited to 'scripts/roam-sync.sh')
0 files changed, 0 insertions, 0 deletions
