Subject: bug#40717: closed (Re: tests/print.scm is failing)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 23 Apr 2020 14:07:02 +0000

Your bug report

#40717: tests/print.scm is failing

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
40717: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=40717
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: tests/print.scm is failing
From: Marius Bakke <[email-masked]>
To: [email-masked]
Date: Thu, 23 Apr 2020 16:06:38 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Marius Bakke <[email-masked]> writes:

> Hello,
>
> Running 'make check TESTS=tests/print.scm' results in two failures:

Ricardo fixed this in 10af34cd7f1f4f9fb50db826d06233c83a9c0439.

Subject: tests/print.scm is failing
From: Marius Bakke <[email-masked]>
To: [email-masked]
Date: Sun, 19 Apr 2020 18:20:26 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

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