all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#36912: JSON-related tests failing on latest master branch
@ 2019-08-03 19:59 Brian Leung
  2019-08-05 13:24 ` Ricardo Wurmus
  0 siblings, 1 reply; 3+ messages in thread
From: Brian Leung @ 2019-08-03 19:59 UTC (permalink / raw)
  To: 36912

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

For example, `make check TESTS="tests/swh.scm"` yields two failing tests.
Running one of the package-manager test suites (such as gem.scm)` will also
produce some failing tests.

[-- Attachment #2: Type: text/html, Size: 209 bytes --]

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

* bug#36912: JSON-related tests failing on latest master branch
  2019-08-03 19:59 bug#36912: JSON-related tests failing on latest master branch Brian Leung
@ 2019-08-05 13:24 ` Ricardo Wurmus
  2019-08-05 15:10   ` Brian Leung
  0 siblings, 1 reply; 3+ messages in thread
From: Ricardo Wurmus @ 2019-08-05 13:24 UTC (permalink / raw)
  To: bkleung89; +Cc: 36912-done


Brian Leung <bkleung89@gmail.com> writes:

> For example, `make check TESTS="tests/swh.scm"` yields two failing tests.
> Running one of the package-manager test suites (such as gem.scm)` will also
> produce some failing tests.

This is not actually a bug.

We switched from Guile JSON 1.x to 3.x, which has a different
intermediate representation for JSON data structures.

swh.scm and all other modules have been modified, but when you run “guix
environment guix” you still get an environment with Guile JSON 1.x.
This leads to the test failure.

This problem disappears when you run “guix environment guix --ad-hoc
guile-json”; it will disappear when the “guix” package is upgraded to
point to the latest version of Guile JSON.

-- 
Ricardo

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

* bug#36912: JSON-related tests failing on latest master branch
  2019-08-05 13:24 ` Ricardo Wurmus
@ 2019-08-05 15:10   ` Brian Leung
  0 siblings, 0 replies; 3+ messages in thread
From: Brian Leung @ 2019-08-05 15:10 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: 36912-done

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

Got it, thanks for your response.

On Mon, Aug 5, 2019 at 3:24 PM Ricardo Wurmus <rekado@elephly.net> wrote:

>
> Brian Leung <bkleung89@gmail.com> writes:
>
> > For example, `make check TESTS="tests/swh.scm"` yields two failing tests.
> > Running one of the package-manager test suites (such as gem.scm)` will
> also
> > produce some failing tests.
>
> This is not actually a bug.
>
> We switched from Guile JSON 1.x to 3.x, which has a different
> intermediate representation for JSON data structures.
>
> swh.scm and all other modules have been modified, but when you run “guix
> environment guix” you still get an environment with Guile JSON 1.x.
> This leads to the test failure.
>
> This problem disappears when you run “guix environment guix --ad-hoc
> guile-json”; it will disappear when the “guix” package is upgraded to
> point to the latest version of Guile JSON.
>
> --
> Ricardo
>
>

[-- Attachment #2: Type: text/html, Size: 1346 bytes --]

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

end of thread, other threads:[~2019-08-05 15:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-03 19:59 bug#36912: JSON-related tests failing on latest master branch Brian Leung
2019-08-05 13:24 ` Ricardo Wurmus
2019-08-05 15:10   ` Brian Leung

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.