summaryrefslogtreecommitdiff
path: root/test/lisp/emacs-lisp/comp-cstr-tests.el
diff options
context:
space:
mode:
authorAndrea Corallo <akrl@sdf.org>2021-04-26 16:49:22 +0200
committerAndrea Corallo <akrl@sdf.org>2021-04-26 16:52:10 +0200
commita390a4965f96d1c16a92c3c53fa2dbf41954bc4b (patch)
treed5ad95ab569dc2c0ab8ca7fddfca2b908df2914b /test/lisp/emacs-lisp/comp-cstr-tests.el
parent58fc16063c452d8dc0198b949ff8c00e84942b4f (diff)
downloademacs-a390a4965f96d1c16a92c3c53fa2dbf41954bc4b.tar.gz
emacs-a390a4965f96d1c16a92c3c53fa2dbf41954bc4b.tar.bz2
emacs-a390a4965f96d1c16a92c3c53fa2dbf41954bc4b.zip
* Fix comp-cstr tests for vanilla build (bug#48021)
* test/lisp/emacs-lisp/comp-cstr-tests.el (comp-ctxt): Fix tests for vanilla build (bug#48021)
Diffstat (limited to 'test/lisp/emacs-lisp/comp-cstr-tests.el')
-rw-r--r--test/lisp/emacs-lisp/comp-cstr-tests.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/lisp/emacs-lisp/comp-cstr-tests.el b/test/lisp/emacs-lisp/comp-cstr-tests.el
index 2e4628522f4..d45a3e5fafd 100644
--- a/test/lisp/emacs-lisp/comp-cstr-tests.el
+++ b/test/lisp/emacs-lisp/comp-cstr-tests.el
@@ -29,6 +29,8 @@
(require 'cl-lib)
(require 'comp-cstr)
+(defvar comp-ctxt) ; So we can run these tests on non native compiled builds.
+
(cl-eval-when (compile eval load)
(defun comp-cstr-test-ts (type-spec)