emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: master c622627: * Clean-up temporary eln test-suite directory when e


From: Eli Zaretskii
Subject: Re: master c622627: * Clean-up temporary eln test-suite directory when exiting (bug#48060)
Date: Thu, 29 Apr 2021 18:11:17 +0300

> From: Andrea Corallo <akrl@sdf.org>
> Cc: emacs-devel@gnu.org, michael.albinus@gmx.de
> Date: Thu, 29 Apr 2021 14:41:47 +0000
> 
> > I'm not sure what dependency you are talking about.  What I had in
> > mind was to arrange in test/Makefile.in to use that directory for
> > *.eln files, via some Lisp variable or environment variable.  This
> > way, Emacs will not need to understand it is being run as part of the
> > test suite.
> 
> Answering both your questions: Emacs will have to understand that in
> this condition "test/eln-cache/" has to be pushed to
> `comp-eln-load-path'.  To do this as you suggest we could set an
> env-var, but this is not much different from what we do now (and IIUC
> this is what Michael doesn't like much and was called a dependency).
> Also we'd still have to handle this push in startup.el, am I wrong?
> 
> Maybe we could have the Emacs invocation in the Makefile changed to
> explicitly tweak `comp-eln-load-path' using -eval?

That's one way, yes.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]