GNU bug report logs - #47138
[feature/native-comp] comp-tests suite creates a /nonexistent directory

Previous Next

Package: emacs;

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 #40 received at 47138 <at> debbugs.gnu.org (full text, mbox):

From: Andrea Corallo <akrl <at> sdf.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: rgm <at> gnu.org, 47138 <at> debbugs.gnu.org
Subject: Re: bug#47138: 28.0.50; comp-tests suite creates a /nonexistent
 directory
Date: Wed, 24 Mar 2021 14:47:27 +0000
Eli Zaretskii <eliz <at> gnu.org> writes:

>> Cc: 47138 <at> debbugs.gnu.org
>> Date: Sun, 21 Mar 2021 17:30:36 +0000
>> From:  Andrea Corallo via "Bug reports for GNU Emacs,
>>  the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
>> 
>> if we have a better idea on how to detect we are running the testsuite
>> we can use that in place.  Maybe defining a dedicated env variable
>> during the build?
>
> Howe about EMACS_ELN_PATH, similar to EMACS_LOADPATH?  Then the test
> Makefile could set it for the src/comp-tests test.

That's an idea but how can we create a temporary directory to set into
EMACS_ELN_PATH from the build system?

I was thinking more to an env far to check for to replace the

(equal (getenv "HOME") "/nonexistent")

we have in `normal-top-level' with:

(getenv "TESTSUITE_RUN")

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.