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: Andrea Corallo
Subject: Re: master c622627: * Clean-up temporary eln test-suite directory when exiting (bug#48060)
Date: Wed, 28 Apr 2021 19:45:09 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Andrea Corallo <akrl@sdf.org>
>> Cc: Michael Albinus <michael.albinus@gmx.de>, emacs-devel@gnu.org
>> Date: Wed, 28 Apr 2021 19:19:58 +0000
>> 
>> > Andrea, is the problem with these directories specific to comp-tests,
>> > or does it happen in any test run in the native-compilation build?
>> 
>> Every test might need to compile native code, not only directly invoking
>> `native-compile' & friends but also in case a trampoline has to be
>> synthesized.
>
> Then why don't these files end up in ~/.emacs.d/eln-cache/ ?

Because in the makefile we set HOME to the nonexisent directory so
~/.emacs.d/eln-cache/ is not reachable as it is computed relying on
`user-emacs-directory'.

> Or maybe we should have test/eln-cache/ and put the files there,
> without creating a new directory each time.  Or even just deposit
> these files in the directory where the test runs, like we'd do with
> *.elc files.
>
> WDYT?

Of the two options I'd prefer the first so we don't have to modify the
mechanism to locate the eln files.

  Andrea



reply via email to

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