From 19f6ae230e2996dd5764835971f765df376d3638 Mon Sep 17 00:00:00 2001 From: Mats Lidell Date: Sat, 14 Mar 2026 22:48:33 +0100 Subject: [PATCH] Allow local variables in coverage target * Makefile (coverage): enable-local-variables :all so test suite can execute with no user interaction. --- ChangeLog | 3 +++ Makefile | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 422f4b8d..cc68efe4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2026-03-14 Mats Lidell +* Makefile (coverage): enable-local-variables :all so test suite can execute + with no user interaction. + * test/hycontrol-tests.el (hycontrol-tests--move-frame): Use stub since frame-position is called differenty in headless and native environment. diff --git a/Makefile b/Makefile index fff65bd6..b5865a7a 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ # Author: Bob Weiner # # Orig-Date: 15-Jun-94 at 03:42:38 -# Last-Mod: 14-Mar-26 at 14:00:08 by Bob Weiner +# Last-Mod: 14-Mar-26 at 22:47:11 by Mats Lidell # # Copyright (C) 1994-2026 Free Software Foundation, Inc. # See the file HY-COPY for license information. @@ -735,7 +735,7 @@ COVERAGE_TESTSPEC = t endif .PHONY: coverage coverage: - $(EMACS) --quick $(PRELOADS) \ + $(EMACS) --quick $(PRELOADS) --eval "(setq enable-local-variables :all)" \ --eval "(load-file \"test/hy-test-dependencies.el\")" \ --eval "(load-file \"test/hy-test-coverage.el\")" \ --eval "(hy-test-coverage-file \"${file}\" \"${COVERAGE_TESTSPEC}\")"