From 1f4c69218cc56a1cd8f670bd9cff34eb5f19d406 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Mon, 11 May 2026 17:17:54 -0500 Subject: 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. --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Makefile') 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) -- cgit v1.2.3