]> git.eshelyaron.com Git - emacs.git/commitdiff
* test/src/comp-tests.el (comp-tests-bootstrap): Fix test for new eln setup.
authorAndrea Corallo <akrl@sdf.org>
Sun, 16 Aug 2020 18:44:56 +0000 (20:44 +0200)
committerAndrea Corallo <akrl@sdf.org>
Mon, 17 Aug 2020 16:04:23 +0000 (18:04 +0200)
test/src/comp-tests.el

index 092504565a6780f3ea803ffd448ec3e286d82765..33b307b1c6e16de61cdd9b39cf84a0198c6e632e 100644 (file)
@@ -54,7 +54,8 @@ Check that the resulting binaries do not differ."
          (comp-debug 0))
     (copy-file comp-src comp1-src t)
     (copy-file comp-src comp2-src t)
-    (load (concat comp-src "c") nil nil t t)
+    (let ((load-no-native t))
+      (load (concat comp-src "c") nil nil t t))
     (should-not (subr-native-elisp-p (symbol-function #'native-compile)))
     (message "Compiling stage1...")
     (let ((comp1-eln (native-compile comp1-src)))