JRuby

eliminating test console blabber, possible difference from MRI

Details

  • Type: Test Test
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: JRuby 1.1
  • Fix Version/s: JRuby 1.1
  • Component/s: Interpreter
  • Labels:
    None
  • Testcase included:
    yes
  • Patch Submitted:
    Yes
  • Number of attachments :
    1

Description

I am trying to get rid of this console noise when running the unit tests:
{{
[junit] ./test/testStruct.rb:91 warning: redefining constant Struct::Post
[junit] ./test/testStruct.rb:98 warning: redefining constant Struct::MyStruct
}}
I have added a patch which works for MRI, but not JRuby. Is this a bug, or a deliberate/necessary different in how stdout works in JRuby?

Activity

Hide
Stuart Halloway added a comment -

Nevermind about the MRI difference – tired brain. Working the same everywhere, once Nick pointed out that I needed to Recording::stderr instead of stdout.

Show
Stuart Halloway added a comment - Nevermind about the MRI difference – tired brain. Working the same everywhere, once Nick pointed out that I needed to Recording::stderr instead of stdout.
Hide
Charles Oliver Nutter added a comment -

Marking bugs with invalid "fixed for release" as fixed in 1.1.

Show
Charles Oliver Nutter added a comment - Marking bugs with invalid "fixed for release" as fixed in 1.1.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: