Subject: bug#34229: closed (Re: bug#34229: tests/upstream.scm fails on master)

From: [email-masked] (GNU bug Tracking System)
Date: Wed, 13 Jul 2022 15:13:02 +0000

Your bug report

#34229: tests/upstream.scm fails on master

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].

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

Subject: Re: bug#34229: tests/upstream.scm fails on master
From: Maxim Cournoyer <[email-masked]>
To: Ricardo Wurmus <[email-masked]>
Cc: [email-masked], Chris Marusich <[email-masked]>
Date: Wed, 13 Jul 2022 11:12:16 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

Ricardo Wurmus <[email-masked]> writes:

> Chris Marusich <[email-masked]> writes:
>
>> At v0.16.0-1516-g86228e569 (current master branch head), the
>> upstream.scm test fails with the following log:
>
> This is due to the changes in #34040 because one of the fields is now a
> procedure.  We’re discussing at #34040 how to change this.

I see this is fixed.  Closing.

Thanks!

Maxim

Subject: tests/upstream.scm fails on master
From: Chris Marusich <[email-masked]>
To: [email-masked]
Date: Sun, 27 Jan 2019 22:49:41 -0800
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

At v0.16.0-1516-g86228e569 (current master branch head), the
upstream.scm test fails with the following log:

--8<---------------cut here---------------start------------->8---
FAIL: tests/upstream
====================

test-name: coalesce-sources same version
location: /home/marusich/guix/tests/upstream.scm:27
source:
+ (test-equal
+   "coalesce-sources same version"
+   (list (upstream-source
+           (package "foo")
+           (version "1")
+           (urls '("ftp://example.org/foo-1.tar.xz"
+                   "ftp://example.org/foo-1.tar.gz"))
+           (signature-urls
+             '("ftp://example.org/foo-1.tar.xz.sig"
+               "ftp://example.org/foo-1.tar.gz.sig"))))
+   (coalesce-sources
+     (list (upstream-source
+             (package "foo")
+             (version "1")
+             (urls '("ftp://example.org/foo-1.tar.gz"))
+             (signature-urls
+               '("ftp://example.org/foo-1.tar.gz.sig")))
+           (upstream-source
+             (package "foo")
+             (version "1")
+             (urls '("ftp://example.org/foo-1.tar.xz"))
+             (signature-urls
+               '("ftp://example.org/foo-1.tar.xz.sig"))))))
expected-value: (#<<upstream-source> package: "foo" version: "1" urls: ("ftp://example.org/foo-1.tar.xz" "ftp://example.org/foo-1.tar.gz") signature-urls: ("ftp://example.org/foo-1.tar.xz.sig" "ftp://example.org/foo-1.tar.gz.sig") input-changes: #<procedure d8a360 at ice-9/eval.scm:330:13 ()>>)
actual-value: (#<<upstream-source> package: "foo" version: "1" urls: ("ftp://example.org/foo-1.tar.xz" "ftp://example.org/foo-1.tar.gz") signature-urls: ("ftp://example.org/foo-1.tar.xz.sig" "ftp://example.org/foo-1.tar.gz.sig") input-changes: #<procedure db3360 at ice-9/eval.scm:330:13 ()>>)
result: FAIL

random seed for tests: 1548664767
--8<---------------cut here---------------end--------------->8---

-- 
Chris