From: Marius Bakke <mbakke@fastmail.com>
To: Danny Milosavljevic <dannym@scratchpost.org>, guix-devel@gnu.org
Subject: Re: [PATCH] guix: python-build-system: Properly inform caller about test status.
Date: Thu, 05 Jan 2017 14:31:41 +0100 [thread overview]
Message-ID: <87vatty6o2.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> (raw)
In-Reply-To: <20170104233058.4068-1-dannym@scratchpost.org>
[-- Attachment #1: Type: text/plain, Size: 1788 bytes --]
Danny Milosavljevic <dannym@scratchpost.org> writes:
> * guix/build/python-build-system.scm (check): Properly inform caller about test status.
> ---
> guix/build/python-build-system.scm | 13 +++++++------
> 1 file changed, 7 insertions(+), 6 deletions(-)
>
> diff --git a/guix/build/python-build-system.scm b/guix/build/python-build-system.scm
> index 3f280b0ac..d46739827 100644
> --- a/guix/build/python-build-system.scm
> +++ b/guix/build/python-build-system.scm
> @@ -136,12 +136,13 @@
> ;; build/lib in some cases, e.g. if the source is in a sub-directory
> ;; (given with `package_dir`). This will by copied to the output, too,
> ;; so we need to remove.
> - (let ((before (find-files "build" "\\.egg-info$" #:directories? #t)))
> - (call-setuppy test-target '() use-setuptools?)
> - (let* ((after (find-files "build" "\\.egg-info$" #:directories? #t))
> - (inter (lset-difference eqv? after before)))
> - (for-each delete-file-recursively inter)))
> - #t))
> + (let* ((before (find-files "build" "\\.egg-info$" #:directories? #t))
> + (status (call-setuppy test-target '() use-setuptools?))
> + (after (find-files "build" "\\.egg-info$" #:directories? #t))
> + (inter (lset-difference eqv? after before)))
> + (for-each delete-file-recursively inter)
> + status)
> + #t))
This is fixed with e46a043ecd9f9ef46d1d44393362bb7016454544 from the
'python-tests' branch. Speaking of which, there are still some failing
packages in that branch listed at:
https://hydra.gnu.org/eval/109407?compare=master#tabs-now-fail
I'll try to take care of the remaining failures in the next week so we
can merge this branch. Contributions are always welcome however ;-)
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
next prev parent reply other threads:[~2017-01-05 13:31 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-04 23:30 [PATCH] guix: python-build-system: Properly inform caller about test status Danny Milosavljevic
2017-01-05 10:14 ` Hartmut Goebel
2017-01-05 13:31 ` Marius Bakke [this message]
2017-01-05 15:49 ` Leo Famulari
2017-01-05 16:06 ` python-tests: Sphinx Danny Milosavljevic
2017-01-05 16:11 ` Marius Bakke
2017-01-18 7:52 ` [PATCH v2 0/6] Make python-oslosphinx work in python-tests branch Danny Milosavljevic
2017-01-18 7:53 ` [PATCH v2 1/6] gnu: python-testtools: Update to 1.4.0 Danny Milosavljevic
2017-01-18 17:39 ` Marius Bakke
2017-01-19 9:28 ` Danny Milosavljevic
2017-01-19 12:59 ` Marius Bakke
2017-01-19 14:34 ` python2-traceback2, python2-linecache2 Danny Milosavljevic
2017-01-19 15:01 ` Marius Bakke
2017-01-19 17:46 ` Marius Bakke
2017-01-20 19:56 ` 'python-tests' merge Marius Bakke
2017-01-19 20:38 ` python2-traceback2, python2-linecache2 Hartmut Goebel
2017-01-19 20:35 ` Hartmut Goebel
2017-01-19 15:31 ` [PATCH v2 1/6] gnu: python-testtools: Update to 1.4.0 Danny Milosavljevic
2017-01-18 7:53 ` [PATCH v2 2/6] gnu: Add python-fastimport Danny Milosavljevic
2017-01-18 17:39 ` Marius Bakke
2017-01-18 23:43 ` Danny Milosavljevic
2017-01-18 7:53 ` [PATCH v2 3/6] gnu: Add python-dulwich Danny Milosavljevic
2017-01-18 17:48 ` Marius Bakke
2017-01-18 20:57 ` Efraim Flashner
2017-01-19 9:38 ` Danny Milosavljevic
2017-01-19 9:34 ` Danny Milosavljevic
2017-01-19 15:27 ` Danny Milosavljevic
2017-01-18 7:53 ` [PATCH v2 4/6] gnu: Add python-reno Danny Milosavljevic
2017-01-18 17:51 ` Marius Bakke
2017-01-19 15:40 ` Danny Milosavljevic
2017-01-19 16:32 ` Danny Milosavljevic
2017-01-18 7:53 ` [PATCH v2 5/6] gnu: python-mox3: Remove python-oslosphinx dependency (since the tests don't run anyway) Danny Milosavljevic
2017-01-18 17:54 ` Marius Bakke
2017-01-18 23:42 ` Danny Milosavljevic
2017-01-18 7:53 ` [PATCH v2 6/6] gnu: python-sphinx: Update to 1.5.1 and enable tests Danny Milosavljevic
2017-01-18 17:55 ` Marius Bakke
2017-01-18 23:35 ` Danny Milosavljevic
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87vatty6o2.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me \
--to=mbakke@fastmail.com \
--cc=dannym@scratchpost.org \
--cc=guix-devel@gnu.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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).