From a390a4965f96d1c16a92c3c53fa2dbf41954bc4b Mon Sep 17 00:00:00 2001
From: Andrea Corallo <akrl@sdf.org>
Date: Mon, 26 Apr 2021 16:49:22 +0200
Subject: * 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)
---
 test/lisp/emacs-lisp/comp-cstr-tests.el | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'test/lisp/emacs-lisp/comp-cstr-tests.el')

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)
-- 
cgit v1.2.3