GNU bug report logs - #27599
Enable tests for xauth package

Previous Next

Package: guix-patches;

Reported by: Kei Kebreau <kei <at> openmailbox.org>

Date: Thu, 6 Jul 2017 18:41:02 UTC

Severity: normal

Done: Kei Kebreau <kkebreau <at> posteo.net>

Bug is archived. No further changes may be made.

Full log


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

From: Arun Isaac <arunisaac <at> systemreboot.net>
To: Kei Kebreau <kei <at> openmailbox.org>
Cc: 27599 <at> debbugs.gnu.org
Subject: Re: [bug#27599] [PATCH 1/2] gnu: Add cmdtest.
Date: Sat, 08 Jul 2017 22:07:20 +0530
> I can't figure out what's going wrong with the test suite. Perhaps
> someone familiar with the Coverage Test Runner module in python can be
> of assistance.

I made some progress. Here are the arguments I used.

(arguments
 `(#:python ,python-2
   #:phases
   (modify-phases %standard-phases
     ;; check phase needs to be run before the build phase. If not, the
     ;; coverage test runner looks for tests for the built source files,
     ;; and fails.
     (delete 'check)
     (add-before 'build 'check
       (lambda _
         (substitute* "yarn"
           (("/bin/sh") (which "sh")))
         (zero? (system* "python" "setup.py" "check")))))))

However, there is still one (hopefully) last test that is failing. This
happens when `python setup.py check' runs `./cmdtest yarn.tests'. I'm
not able to figure out exactly what the issue is. But, I noticed that
this test fails only in the build environment, and runs fine in my user
environment. So, this must be due to something that is missing in the
build environment -- possibly some environment variable. Check it out
and let me know. I will also continue trying.




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

Previous Next


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