[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master d164436 1/3: * test/src/comp-tests.el: Fix it for non native comp
From: |
Andrea Corallo |
Subject: |
master d164436 1/3: * test/src/comp-tests.el: Fix it for non native compiled build (bug#48031). |
Date: |
Mon, 26 Apr 2021 11:37:51 -0400 (EDT) |
branch: master
commit d164436b2adf3d4da6d808c15706fb46818a8bc3
Author: Andrea Corallo <akrl@sdf.org>
Commit: Andrea Corallo <akrl@sdf.org>
* 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 a1e91ec..a679cf8 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)))