Summary: | dev-ruby/text-hyphen-1.4.1-r1 - src_test(): /usr/lib/ruby/1.9.1/test/unit.rb:328:in `autorun': uninitialized class variable @@installed_at_exit in Test::Unit::Runner (NameError) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jeroen Roovers (RETIRED) <jer> |
Component: | [OLD] Development | Assignee: | Gentoo Ruby Team <ruby> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | TESTFAILURE |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 546968 | ||
Attachments: | dev-ruby:text-hyphen-1.4.1-r1:20150421-183024.log |
Description
Jeroen Roovers (RETIRED)
2015-04-21 19:20:34 UTC
That is due to older test-unit versions no longer being compatible with newer tools. Fixed in place by requiring a more modern test-unit. I'm not sure that's the correct fix. At the time of the test failure, both dev-ruby/test-unit-2.5.5-r1 and dev-ruby/test-unit-1.2.3-r1 were installed. Merely having the former in place apparently doesn't make dev-ruby/text-hyphen's test suite ignore the latter. all_ruby_prepare() { sed -i -e '2igem "test-unit", ">= 2.0"' test/test_*.rb || die } |