unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#34229: tests/upstream.scm fails on master
@ 2019-01-28  6:49 Chris Marusich
  2019-01-28  8:42 ` Ricardo Wurmus
  2019-01-28 12:49 ` Ludovic Courtès
  0 siblings, 2 replies; 4+ messages in thread
From: Chris Marusich @ 2019-01-28  6:49 UTC (permalink / raw)
  To: 34229

[-- Attachment #1: Type: text/plain, Size: 1950 bytes --]

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#34229: tests/upstream.scm fails on master
  2019-01-28  6:49 bug#34229: tests/upstream.scm fails on master Chris Marusich
@ 2019-01-28  8:42 ` Ricardo Wurmus
  2022-07-13 15:12   ` Maxim Cournoyer
  2019-01-28 12:49 ` Ludovic Courtès
  1 sibling, 1 reply; 4+ messages in thread
From: Ricardo Wurmus @ 2019-01-28  8:42 UTC (permalink / raw)
  To: Chris Marusich; +Cc: 34229


Chris Marusich <cmmarusich@gmail.com> 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.

--
Ricardo

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#34229: tests/upstream.scm fails on master
  2019-01-28  6:49 bug#34229: tests/upstream.scm fails on master Chris Marusich
  2019-01-28  8:42 ` Ricardo Wurmus
@ 2019-01-28 12:49 ` Ludovic Courtès
  1 sibling, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2019-01-28 12:49 UTC (permalink / raw)
  To: Chris Marusich; +Cc: 34229

Hello,

Chris Marusich <cmmarusich@gmail.com> skribis:

> At v0.16.0-1516-g86228e569 (current master branch head), the
> upstream.scm test fails with the following log:
>
> 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

Ricardo is working on it.  ;-)
See <https://issues.guix.info/issue/34040>.

Ludo’.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#34229: tests/upstream.scm fails on master
  2019-01-28  8:42 ` Ricardo Wurmus
@ 2022-07-13 15:12   ` Maxim Cournoyer
  0 siblings, 0 replies; 4+ messages in thread
From: Maxim Cournoyer @ 2022-07-13 15:12 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: 34229-done, Chris Marusich

Hi,

Ricardo Wurmus <rekado@elephly.net> writes:

> Chris Marusich <cmmarusich@gmail.com> 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




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-07-13 15:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-28  6:49 bug#34229: tests/upstream.scm fails on master Chris Marusich
2019-01-28  8:42 ` Ricardo Wurmus
2022-07-13 15:12   ` Maxim Cournoyer
2019-01-28 12:49 ` Ludovic Courtès

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