From: Marius Bakke <mbakke@fastmail.com>
To: 40717@debbugs.gnu.org
Subject: bug#40717: tests/print.scm is failing
Date: Sun, 19 Apr 2020 18:20:26 +0200 [thread overview]
Message-ID: <878sirh2gl.fsf@devup.no> (raw)
[-- Attachment #1: Type: text/plain, Size: 2337 bytes --]
Hello,
Running 'make check TESTS=tests/print.scm' results in two failures:
FAIL: tests/print
=================
test-name: simple package
location: /home/marius/guix/tests/print.scm:70
source:
+ (test-equal
+ "simple package"
+ pkg-source
+ (package->code pkg))
expected-value: (package (name "test") (version "1.2.3") (source (origin (method url-fetch) (uri (string-append "file:///tmp/test-" version ".tar.gz")) (sha256 (base32 "070pwb7brdcn1mfvplkd56vjc7lbz4iznzkqvfsakvgbv68k71ah")))) (build-system gnu-build-system) (home-page "http://gnu.org") (synopsis "Dummy") (description "This is a dummy package.") (license gpl3+))
actual-value: (define-public test (package (name "test") (version "1.2.3") (source (origin (method url-fetch) (uri (string-append "file:///tmp/test-" version ".tar.gz")) (sha256 (base32 "070pwb7brdcn1mfvplkd56vjc7lbz4iznzkqvfsakvgbv68k71ah")))) (build-system (@ (guix build-system gnu) gnu-build-system)) (home-page "http://gnu.org") (synopsis "Dummy") (description "This is a dummy package.") (license license:gpl3+)))
result: FAIL
test-name: package with inputs
location: /home/marius/guix/tests/print.scm:74
source:
+ (test-equal
+ "package with inputs"
+ pkg-with-inputs-source
+ (package->code pkg-with-inputs))
expected-value: (package (name "test") (version "1.2.3") (source (origin (method url-fetch) (uri (string-append "file:///tmp/test-" version ".tar.gz")) (sha256 (base32 "070pwb7brdcn1mfvplkd56vjc7lbz4iznzkqvfsakvgbv68k71ah")))) (build-system gnu-build-system) (inputs (quasiquote (("coreutils" (unquote (@ (gnu packages base) coreutils))) ("glibc" (unquote (@ (gnu packages base) glibc)) "debug")))) (home-page "http://gnu.org") (synopsis "Dummy") (description "This is a dummy package.") (license gpl3+))
actual-value: (define-public test (package (name "test") (version "1.2.3") (source (origin (method url-fetch) (uri (string-append "file:///tmp/test-" version ".tar.gz")) (sha256 (base32 "070pwb7brdcn1mfvplkd56vjc7lbz4iznzkqvfsakvgbv68k71ah")))) (build-system (@ (guix build-system gnu) gnu-build-system)) (inputs (quasiquote (("coreutils" (unquote (@ (gnu packages base) coreutils))) ("glibc" (unquote (@ (gnu packages base) glibc)) "debug")))) (home-page "http://gnu.org") (synopsis "Dummy") (description "This is a dummy package.") (license license:gpl3+)))
result: FAIL
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
next reply other threads:[~2020-04-19 16:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-19 16:20 Marius Bakke [this message]
2020-04-23 14:06 ` bug#40717: tests/print.scm is failing Marius Bakke
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=878sirh2gl.fsf@devup.no \
--to=mbakke@fastmail.com \
--cc=40717@debbugs.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).