From d164436b2adf3d4da6d808c15706fb46818a8bc3 Mon Sep 17 00:00:00 2001 From: Andrea Corallo Date: Mon, 26 Apr 2021 16:58:36 +0200 Subject: [PATCH] * test/src/comp-tests.el: Fix it for non native compiled build (bug#48031). --- test/src/comp-tests.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/src/comp-tests.el b/test/src/comp-tests.el index a1e91ec5141..a679cf85e36 100644 --- a/test/src/comp-tests.el +++ b/test/src/comp-tests.el @@ -27,7 +27,6 @@ (require 'ert) (require 'cl-lib) -(require 'comp) (defconst comp-test-directory (file-name-directory (or load-file-name buffer-file-name))) @@ -38,6 +37,7 @@ (concat comp-test-directory "comp-test-funcs-dyn.el")) (when (featurep 'nativecomp) + (require 'comp) (message "Compiling tests...") (load (native-compile comp-test-src)) (load (native-compile comp-test-dyn-src))) -- 2.39.5