Skip to content

Commit d16aa9c

Browse files
authored
Use test= with coverage target (#941)
* Makefile (COVERAGE_TESTSPEC): Use test= for specifying the test selector to be used when running coverage check. Defaults to t.
1 parent 5c24f8c commit d16aa9c

2 files changed

Lines changed: 8 additions & 3 deletions

File tree

ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2026-04-21 Mats Lidell <matsl@gnu.org>
2+
3+
* Makefile (COVERAGE_TESTSPEC): Use test= for specifying the test selector
4+
to be used when running coverage check. Defaults to t.
5+
16
2026-04-16 Mats Lidell <matsl@gnu.org>
27

38
* test/hyrolo-tests.el (hyrolo-tests--tab-through-matches): Verifies

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -728,12 +728,12 @@ docker-clean:
728728
# coverage for the specified file.
729729
#
730730
# Usage:
731-
# make coverage file=<file> testspec=<testspec>
731+
# make coverage file=<file> test=<testspec>
732732

733733
# Specify file to inspect for coverage while running tests given by testspec
734734
COVERAGE_FILE = ${file}
735-
ifeq ($(origin testspec), command line)
736-
COVERAGE_TESTSPEC = ${testspec}
735+
ifeq ($(origin test), command line)
736+
COVERAGE_TESTSPEC = ${test}
737737
else
738738
COVERAGE_TESTSPEC = t
739739
endif

0 commit comments

Comments
 (0)