bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#29712: 26.0.90; Three emacs-26 elisp tests are failing on darwin


From: Alan Third
Subject: bug#29712: 26.0.90; Three emacs-26 elisp tests are failing on darwin
Date: Wed, 31 Jan 2018 20:03:15 +0000
User-agent: Mutt/1.9.1 (2017-09-22)

On Tue, Jan 30, 2018 at 02:40:08PM -0800, John Wiegley wrote:
> >>>>> "AT" == Alan Third <alan@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





reply via email to

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