From 9f78c2bd78f77ff8ed96f83d66418dda33bb9e52 Mon Sep 17 00:00:00 2001 From: Mats Lidell Date: Tue, 21 Apr 2026 00:26:04 +0200 Subject: [PATCH] Use test= with coverage target * Makefile (COVERAGE_TESTSPEC): Use test= for specifying the test selector to be used when running coverage check. Defaults to t. --- ChangeLog | 5 +++++ Makefile | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) 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