GNU bug report logs - #29712
26.0.90; Three emacs-26 elisp tests are failing on darwin

Previous Next

Package: emacs;

Reported by: "John Wiegley" <johnw <at> gnu.org>

Date: Thu, 14 Dec 2017 20:22:01 UTC

Severity: minor

Tags: fixed

Merged with 29277

Found in version 26.0.90

Fixed in version 26.1

Done: Alan Third <alan <at> idiocy.org>

Bug is archived. No further changes may be made.

Full log


Message #80 received at 29712 <at> debbugs.gnu.org (full text, mbox):

From: Alan Third <alan <at> idiocy.org>
To: John Wiegley <johnw <at> gnu.org>
Cc: 29712 <at> debbugs.gnu.org
Subject: Re: bug#29712: 26.0.90; Three emacs-26 elisp tests are failing on
 darwin
Date: Wed, 31 Jan 2018 20:03:15 +0000
On Tue, Jan 30, 2018 at 02:40:08PM -0800, John Wiegley wrote:
> >>>>> "AT" == Alan Third <alan <at> idiocy.org> writes:
> 
> AT> How are you running the tests? Is it from this nix build location?
> 
> I run the test using this expression:
> 
<snip>
> 
> This is in my Nix overlays. I think just build nixpkgs.emacs26debug.

I don’t know anything about nix, but I suspect it’s running make check
from a different location than it built emacs from.

Basically this test just checks whether a file exists and it uses the
built‐in variable source-directory, which must be set at compile time,
as the root. Presumably nix builds in a temporary location which it
removes before running make check.

If that’s true I can think of two ways round it:

  1. Create a temporary file and then check for its existence (e.g. in
     /tmp).
  2. Skip the test if the source directory doesn’t exist.
-- 
Alan Third




This bug report was last modified 7 years and 171 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.