Skip to content

Commit fdfc9f0

Browse files
authored
Allow local variables in coverage target (#906)
* Makefile (coverage): enable-local-variables :all so test suite can execute with no user interaction.
1 parent 3367a5d commit fdfc9f0

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

ChangeLog

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
2026-03-14 Mats Lidell <matsl@gnu.org>
22

3+
* Makefile (coverage): enable-local-variables :all so test suite can execute
4+
with no user interaction.
5+
36
* test/hycontrol-tests.el (hycontrol-tests--move-frame): Use stub since
47
frame-position is called differenty in headless and native environment.
58

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Author: Bob Weiner
44
#
55
# Orig-Date: 15-Jun-94 at 03:42:38
6-
# Last-Mod: 14-Mar-26 at 14:00:08 by Bob Weiner
6+
# Last-Mod: 14-Mar-26 at 22:47:11 by Mats Lidell
77
#
88
# Copyright (C) 1994-2026 Free Software Foundation, Inc.
99
# See the file HY-COPY for license information.
@@ -735,7 +735,7 @@ COVERAGE_TESTSPEC = t
735735
endif
736736
.PHONY: coverage
737737
coverage:
738-
$(EMACS) --quick $(PRELOADS) \
738+
$(EMACS) --quick $(PRELOADS) --eval "(setq enable-local-variables :all)" \
739739
--eval "(load-file \"test/hy-test-dependencies.el\")" \
740740
--eval "(load-file \"test/hy-test-coverage.el\")" \
741741
--eval "(hy-test-coverage-file \"${file}\" \"${COVERAGE_TESTSPEC}\")"

0 commit comments

Comments
 (0)