GNU bug report logs -
#47138
[feature/native-comp] comp-tests suite creates a /nonexistent directory
Previous Next
Reported by: Eli Zaretskii <eliz <at> gnu.org>
Date: Sun, 14 Mar 2021 16:00:02 UTC
Severity: normal
Tags: moreinfo
Found in version 28.0.50
Fixed in version 29.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #34 received at 47138 <at> debbugs.gnu.org (full text, mbox):
Eli Zaretskii <eliz <at> gnu.org> writes:
>> From: Andrea Corallo <akrl <at> sdf.org>
>> Cc: 47138 <at> debbugs.gnu.org
>> Date: Sun, 21 Mar 2021 16:28:12 +0000
>>
>> I see, the target directory for a newly compiled .eln is the first entry
>> in `comp-eln-load-path', so HOME is not accounted and the trick didn't
>> applied.
>
> Right, makes sense.
>
>> Okay af739863b0 when running the testsuite is adding in front of
>> `comp-eln-load-path' a temporary directory such that now all native
>> compilations tests are deposed and loaded there. Does is look like a
>> good solution?
>
> Yes, I think so. But please add a note in test/Makefile.in, where
> this /nonexistent trick is set up, that if the name is changed,
> startup.el should be changed as well.
Right, ec12cdd197 does that, in case we'll find a more elegant way for
the future I'll clean this up.
> However, I've run the test suite after updating from Git, and that
> /nonexistent directory is still being created, with files
> comp-test-funcs, comp-test-funcs-dyn, comp-test-45603, and a few
> subr--trampoline* files. The rest of the *.eln files created by the
> test are going to the temporary directory, but there's no
> emacs-testsuite-NNN subdirectory there. Any ideas what could be
> causing that?
Mmhh no, not really. These native compilations are triggered from the
"comp-tests.el" top-level but they should still obey to
`comp-eln-load-path' that we set earlier.
On my system these are create in the temporary dir, I'll think about but
we may need to debug this it sounds strange.
Thanks
Andrea
This bug report was last modified 2 years and 364 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.