aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-11 17:17:54 -0500
committerCraig Jennings <c@cjennings.net>2026-05-11 17:17:54 -0500
commit1f4c69218cc56a1cd8f670bd9cff34eb5f19d406 (patch)
tree2b9a692640bfdd9291f9d9536b9935a54f49c160 /Makefile
parentbbd1b73cbaf1716734b1193467564a0c7122dec7 (diff)
downloaddotemacs-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--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 498a520a..5e35a4cc 100644
--- a/Makefile
+++ b/Makefile
@@ -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)