Description: Adapt the testsuite for the autopkgtest
 Since tests readme-recipe and traditional-recipe spawn another
 Emacs instance, they need to set the same Emacs variables as runtest-sbcl.el
 (in particular, SBCL must be run with several flags, and inferior-lisp-program
 is not suited to that task)
Author: Sébastien Villemot <sebastien@debian.org>
Forwarded: not-needed
Last-Update: 2020-12-22
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/slime-tests.el
+++ b/slime-tests.el
@@ -1397,7 +1397,8 @@ Reconnect afterwards."
   (slime-test-recipe-test-for
    :preflight `((add-to-list 'load-path ,slime-path)
                 (require 'slime-autoloads)
-                (setq inferior-lisp-program ,inferior-lisp-program)
+                (setq slime-lisp-implementations ',slime-lisp-implementations)
+                (setq slime-repl-history-file ,slime-repl-history-file)
                 (setq slime-contribs '(slime-fancy)))
    :takeoff `((call-interactively 'slime))
    :landing `((unless (and (featurep 'slime-repl)
@@ -1415,7 +1416,8 @@ Reconnect afterwards."
   (slime-test-recipe-test-for
    :preflight `((add-to-list 'load-path ,slime-path)
                 (require 'slime)
-                (setq inferior-lisp-program ,inferior-lisp-program)
+                (setq slime-lisp-implementations ',slime-lisp-implementations)
+                (setq slime-repl-history-file ,slime-repl-history-file)
                 (slime-setup '(slime-fancy)))
    :takeoff `((call-interactively 'slime))
    :landing `((unless (and (featurep 'slime-repl)
