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: Thu, 24 Aug 2017 13:42:57 +0530 [thread overview]
Message-ID: <2da4aa7d.AEQAO-J3svAAAAAAAAAAAAPR3_IAAAACwQwAAAAAAAW9WABZnoqs@mailjet.com> (raw)
In-Reply-To: <cu7wp7izxz3.fsf@systemreboot.net>
I've figured out all the problems with cmdtest's tests. Please find
below 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")))
;; yarn uses python2-ttystatus to print messages.
;; python2-ttystatus requires /dev/tty which is not present in
;; the build environment. Hence assuming-failure test fails.
(delete-file "yarn.tests/assuming-failure.script")
(delete-file "yarn.tests/assuming-failure.stdout")
(zero? (system* "python" "setup.py" "check")))))))
Do complete the patchset, with changes mentioned earlier, and
push. Thanks!
next prev parent reply other threads:[~2017-08-24 8:14 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
[not found] ` <cu7wp7izxz3.fsf@systemreboot.net>
2017-08-24 8:12 ` Arun Isaac [this message]
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=2da4aa7d.AEQAO-J3svAAAAAAAAAAAAPR3_IAAAACwQwAAAAAAAW9WABZnoqs@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.