diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-11 17:17:54 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-11 17:17:54 -0500 |
| commit | 1f4c69218cc56a1cd8f670bd9cff34eb5f19d406 (patch) | |
| tree | 2b9a692640bfdd9291f9d9536b9935a54f49c160 /Makefile | |
| parent | bbd1b73cbaf1716734b1193467564a0c7122dec7 (diff) | |
| download | dotemacs-1f4c69218cc56a1cd8f670bd9cff34eb5f19d406.tar.gz dotemacs-1f4c69218cc56a1cd8f670bd9cff34eb5f19d406.zip | |
build(make): exclude the lorem-optimum benchmark from coverage runs
`test-lorem-optimum-benchmark.el' runs under undercover during `make coverage', and the instrumentation slows the path enough to fail the benchmark's timing assertions. Added it to `COVERAGE_EXCLUDE' alongside `test-all-comp-errors.el'. It still runs in the normal `make test' flow.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -230,7 +230,9 @@ COVERAGE_FILE = $(COVERAGE_DIR)/simplecov.json # Test files that can't coexist with undercover's instrumentation # (e.g. test-all-comp-errors byte-compiles modules, which fails on # instrumented sources). Excluded from `make coverage' only. -COVERAGE_EXCLUDE = $(TEST_DIR)/test-all-comp-errors.el +COVERAGE_EXCLUDE = \ + $(TEST_DIR)/test-all-comp-errors.el \ + $(TEST_DIR)/test-lorem-optimum-benchmark.el COVERAGE_TESTS = $(filter-out $(COVERAGE_EXCLUDE),$(UNIT_TESTS)) coverage: coverage-clean $(COVERAGE_DIR) |
