]> git.eshelyaron.com Git - emacs.git/commitdiff
* test/src/emacs-module-tests.el (mod-test-file): Unbreak out-of-tree.
authorGlenn Morris <rgm@gnu.org>
Mon, 10 May 2021 18:37:40 +0000 (11:37 -0700)
committerGlenn Morris <rgm@gnu.org>
Mon, 10 May 2021 18:37:40 +0000 (11:37 -0700)
test/src/emacs-module-tests.el

index 0a68d51e3eb6b50d8b7e9ad22894b3713bb9af03..a4d858113ed201f8f90276d134afe1f7d7d21ee0 100644 (file)
@@ -37,7 +37,9 @@
   "File name of the Emacs binary currently running.")
 
 (eval-and-compile
-  (defconst mod-test-file (ert-resource-file "mod-test")
+  (defconst mod-test-file
+    (expand-file-name "../test/src/emacs-module-resources/mod-test"
+                      invocation-directory)
     "File name of the module test file."))
 
 (require 'mod-test mod-test-file)