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 | 586a57ac6389e983536f039955365ae937f45633 (patch) | |
| tree | 2b9a692640bfdd9291f9d9536b9935a54f49c160 /Makefile | |
| parent | a4b20a617b221a533bd92b4952b7e366ffa304ff (diff) | |
| download | dotemacs-586a57ac6389e983536f039955365ae937f45633.tar.gz dotemacs-586a57ac6389e983536f039955365ae937f45633.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) |
