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 | 06859de08c4bea5eedfa096d8d9b69e6296daf82 (patch) | |
| tree | 452ef861205bcce29192c8959db95e98fbd8125d | |
| parent | 3b5e535f598172ac278d440c4bc266690c003354 (diff) | |
| download | dotemacs-06859de08c4bea5eedfa096d8d9b69e6296daf82.tar.gz dotemacs-06859de08c4bea5eedfa096d8d9b69e6296daf82.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.
| -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) |
