unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#42115: ruby-bond fails its test suite, breaking ruby-iruby
@ 2020-06-28 22:58 Maxim Cournoyer
  2020-10-21  4:22 ` Maxim Cournoyer
  0 siblings, 1 reply; 2+ messages in thread
From: Maxim Cournoyer @ 2020-06-28 22:58 UTC (permalink / raw)
  To: 42115

Hello,

The test suite of the ruby-bond package fails with 14 errors like the following:

Mocha::NotInitializedError: Mocha methods cannot be used outside the context of a test
        /tmp/guix-build-ruby-bond-0.5.1.drv-0/gem/test/bond_test.rb:9:in `block (3 levels) in <top (required)>': start - prints error if readline doesn't have all required methods
        /gnu/store/9dshwx1qqrdyhsj2galh70g5l427p6f9-ruby-mocha-on-bacon-0.2.3/lib/ruby/vendor_ruby/gems/mocha-on-bacon-0.2.3/lib/mocha-on-bacon.rb:54:in `it'
        /tmp/guix-build-ruby-bond-0.5.1.drv-0/gem/test/bond_test.rb:10:in `block (2 levels) in <top (required)>'
        /gnu/store/ch5i4pvyx1mfywpnby5xd7w0qs9qnvsm-ruby-bacon-bits-0.1.0/lib/ruby/vendor_ruby/gems/bacon-bits-0.1.0/lib/bacon/bits.rb:20:in `describe'
        /tmp/guix-build-ruby-bond-0.5.1.drv-0/gem/test/bond_test.rb:4:in `block in <top (required)>'
        /tmp/guix-build-ruby-bond-0.5.1.drv-0/gem/test/bond_test.rb:3:in `<top (required)>'
        /gnu/store/cnwb1jaj8imfqwkw047jc20kh7vw3lwk-ruby-bacon-1.2.0/bin/.real/bacon:23:in `load'
        /gnu/store/cnwb1jaj8imfqwkw047jc20kh7vw3lwk-ruby-bacon-1.2.0/bin/.real/bacon:23:in
        `<top (required)>

230 tests, 476 assertions, 0 failures, 14 errors

Tested with commit 8fdd0da49c81366a2061da35739cede3df107e15, but occurs
on master as well.

Maxim




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

* bug#42115: ruby-bond fails its test suite, breaking ruby-iruby
  2020-06-28 22:58 bug#42115: ruby-bond fails its test suite, breaking ruby-iruby Maxim Cournoyer
@ 2020-10-21  4:22 ` Maxim Cournoyer
  0 siblings, 0 replies; 2+ messages in thread
From: Maxim Cournoyer @ 2020-10-21  4:22 UTC (permalink / raw)
  To: 42115-done

Hello,

Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:

> Hello,
>
> The test suite of the ruby-bond package fails with 14 errors like the following:
>
> Mocha::NotInitializedError: Mocha methods cannot be used outside the context of a test
>         /tmp/guix-build-ruby-bond-0.5.1.drv-0/gem/test/bond_test.rb:9:in `block (3 levels) in <top (required)>': start - prints error if readline doesn't have all required methods
>         /gnu/store/9dshwx1qqrdyhsj2galh70g5l427p6f9-ruby-mocha-on-bacon-0.2.3/lib/ruby/vendor_ruby/gems/mocha-on-bacon-0.2.3/lib/mocha-on-bacon.rb:54:in `it'
>         /tmp/guix-build-ruby-bond-0.5.1.drv-0/gem/test/bond_test.rb:10:in `block (2 levels) in <top (required)>'
>         /gnu/store/ch5i4pvyx1mfywpnby5xd7w0qs9qnvsm-ruby-bacon-bits-0.1.0/lib/ruby/vendor_ruby/gems/bacon-bits-0.1.0/lib/bacon/bits.rb:20:in `describe'
>         /tmp/guix-build-ruby-bond-0.5.1.drv-0/gem/test/bond_test.rb:4:in `block in <top (required)>'
>         /tmp/guix-build-ruby-bond-0.5.1.drv-0/gem/test/bond_test.rb:3:in `<top (required)>'
>         /gnu/store/cnwb1jaj8imfqwkw047jc20kh7vw3lwk-ruby-bacon-1.2.0/bin/.real/bacon:23:in `load'
>         /gnu/store/cnwb1jaj8imfqwkw047jc20kh7vw3lwk-ruby-bacon-1.2.0/bin/.real/bacon:23:in
>         `<top (required)>
>
> 230 tests, 476 assertions, 0 failures, 14 errors
>
> Tested with commit 8fdd0da49c81366a2061da35739cede3df107e15, but occurs
> on master as well.
>
> Maxim

Mitigated in commit 18a29cb361.

Closing,

Maxim




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

end of thread, other threads:[~2020-10-21  4:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-28 22:58 bug#42115: ruby-bond fails its test suite, breaking ruby-iruby Maxim Cournoyer
2020-10-21  4:22 ` Maxim Cournoyer

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