diff --git a/ChangeLog b/ChangeLog index 4e3578e4..0ff62943 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2026-04-21 Mats Lidell + +* Makefile (COVERAGE_TESTSPEC): Use test= for specifying the test selector + to be used when running coverage check. Defaults to t. + 2026-04-16 Mats Lidell * test/hyrolo-tests.el (hyrolo-tests--tab-through-matches): Verifies diff --git a/Makefile b/Makefile index 323c3dca..b5e5e73f 100644 --- a/Makefile +++ b/Makefile @@ -728,12 +728,12 @@ docker-clean: # coverage for the specified file. # # Usage: -# make coverage file= testspec= +# make coverage file= test= # Specify file to inspect for coverage while running tests given by testspec COVERAGE_FILE = ${file} -ifeq ($(origin testspec), command line) -COVERAGE_TESTSPEC = ${testspec} +ifeq ($(origin test), command line) +COVERAGE_TESTSPEC = ${test} else COVERAGE_TESTSPEC = t endif