Issue Details (XML | Word | Printable)

Key: JRUBY-1249
Type: Test Test
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Unassigned
Reporter: Stuart Halloway
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
JRuby

eliminating test console blabber, possible difference from MRI

Created: 29/Jul/07 09:06 PM   Updated: 23/Apr/08 10:16 AM   Resolved: 29/Jul/07 10:19 PM
Return to search
Component/s: Interpreter
Affects Version/s: JRuby 1.1
Fix Version/s: JRuby 1.1

Time Tracking:
Not Specified

File Attachments: 1. File make_stdout_shut_up.diff (1.0 kB)


Testcase included: yes
Patch Submitted: Yes


 Description  « Hide

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?



Stuart Halloway added a comment - 29/Jul/07 10:12 PM

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


Nick Sieger made changes - 29/Jul/07 10:19 PM
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]
Charles Oliver Nutter added a comment - 23/Apr/08 10:12 AM

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


Charles Oliver Nutter made changes - 23/Apr/08 10:12 AM
Affects Version/s JRuby 1.1+ [ 13421 ]
Affects Version/s JRuby 1.1 [ 13990 ]
Charles Oliver Nutter made changes - 23/Apr/08 10:14 AM
Fix Version/s JRuby 1.1+ [ 13421 ]
Fix Version/s JRuby 1.1 [ 13990 ]
Charles Oliver Nutter made changes - 23/Apr/08 10:16 AM
Status Resolved [ 5 ] Closed [ 6 ]