From: "Ludovic Courtès" <ludo@gnu.org>
To: Marius Bakke <mbakke@fastmail.com>
Cc: 37748-done@debbugs.gnu.org
Subject: bug#37748: 'guix' fails tests on non-x86_64 systems
Date: Tue, 15 Oct 2019 07:31:33 +0200 [thread overview]
Message-ID: <87imoqlglm.fsf@gnu.org> (raw)
In-Reply-To: <87mue3kni0.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Mon, 14 Oct 2019 23:47:51 +0200")
Ludovic Courtès <ludo@gnu.org> skribis:
> Marius Bakke <mbakke@fastmail.com> skribis:
>
>> test-name: fold-available-packages with/without cache
>> location: /tmp/guix-build-guix-1.0.1-7.fc1fe72.drv-0/source/tests/packages.scm:1110
>> source:
>> + (test-assert
>> + "fold-available-packages with/without cache"
>> + (let ()
>> + (define no-cache
>> + (fold-available-packages
>> + (lambda* (name version result #:rest rest)
>> + (cons (cons* name version rest) result))
>> + '()))
>> + (define from-cache
>> + (call-with-temporary-directory
>> + (lambda (cache)
>> + (generate-package-cache cache)
>> + (mock ((guix describe) current-profile (const cache))
>> + (mock ((gnu packages)
>> + cache-is-authoritative?
>> + (const #t))
>> + (fold-available-packages
>> + (lambda* (name version result #:rest rest)
>> + (cons (cons* name version rest) result))
>> + '()))))))
>> + (and (equal?
>> + (delete-duplicates from-cache)
>> + from-cache)
>> + (lset= equal? no-cache from-cache))))
>> actual-value: #f
>> result: FAIL
>
> Oops! Commit 88da011592a679776088b64b8d11575563c3f867 fixes it.
>
> I’m testing ‘guix’ packages updated to that commit and will push
> tomorrow if everything goes well and nobody beats me at it.
Done in 062158cd7e89ccd40381ca96ce016c841507cedb.
Ludo'.
prev parent reply other threads:[~2019-10-15 5:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-14 16:30 bug#37748: 'guix' fails tests on non-x86_64 systems Marius Bakke
2019-10-14 21:47 ` Ludovic Courtès
2019-10-15 5:31 ` Ludovic Courtès [this message]
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=87imoqlglm.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=37748-done@debbugs.gnu.org \
--cc=mbakke@fastmail.com \
/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).