From: Arun Isaac <arunisaac@systemreboot.net>
To: Kei Kebreau <kei@openmailbox.org>
Cc: 27599@debbugs.gnu.org
Subject: [bug#27599] [PATCH 1/2] gnu: Add cmdtest.
Date: Sat, 08 Jul 2017 22:07:20 +0530 [thread overview]
Message-ID: <051619cb.AEMAMuYKo5QAAAAAAAAAAAPR3_IAAAACwQwAAAAAAAW9WABZYQpN@mailjet.com> (raw)
In-Reply-To: <8760f46x2a.fsf@openmailbox.org>
> 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.
next prev parent reply other threads:[~2017-07-08 16:38 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-06 18:39 [bug#27599] Enable tests for xauth package Kei Kebreau
2017-07-06 18:42 ` [bug#27599] [PATCH 1/2] gnu: Add cmdtest Kei Kebreau
2017-07-06 18:42 ` [bug#27599] [PATCH 2/2] gnu: xauth: Enable tests Kei Kebreau
2017-07-06 20:57 ` [bug#27599] [PATCH 1/2] gnu: Add cmdtest Arun Isaac
[not found] ` <8b934d75.AEMAMoforQgAAAAAAAAAAAPR3_EAAAACwQwAAAAAAAW9WABZXqQn@mailjet.com>
2017-07-07 1:02 ` Kei Kebreau
2017-07-07 16:17 ` Kei Kebreau
2017-07-08 5:38 ` Arun Isaac
2017-07-08 16:37 ` Arun Isaac [this message]
[not found] ` <cu7wp7izxz3.fsf@systemreboot.net>
2017-08-24 8:12 ` Arun Isaac
2017-08-31 12:52 ` bug#27599: " Kei Kebreau
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=051619cb.AEMAMuYKo5QAAAAAAAAAAAPR3_IAAAACwQwAAAAAAAW9WABZYQpN@mailjet.com \
--to=arunisaac@systemreboot.net \
--cc=27599@debbugs.gnu.org \
--cc=kei@openmailbox.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.