TestCommandLineSwitches fails on Windows
----------------------------------------
Key: JRUBY-3703
URL: http://jira.codehaus.org/browse/JRUBY-3703
Project: JRuby
Issue Type: Bug
Components: Windows
Environment: Windows XP. Java 1.5
Reporter: Joe Athman
Priority: Minor
Fix For: JRuby 1.3
Couple test failures on windows for the command line switches tests. Looks
like issues with control characters.
run-junit-compiled-short:
[echo] compile=JIT, jit.threshold=0, jit.max=-1, objectspace=true
threadpool=false reflection=false version=ruby1_8
[junit] Testsuite: org.jruby.test.ScriptTestSuite
[junit] Tests run: 79, Failures: 0, Errors: 0, Time elapsed: 29.312 sec
[junit]
[junit] Testsuite: org.jruby.test.JRubyTestSuite
[junit] Failure:
[junit]
test_dash_dash_copyright_displays_copyright(TestCommandLineSwitches)
[<script>:1]:
[junit] <"JRuby - Copyright (C) 2001-2008 The JRuby Community (and
contribs)\n"> expected but was
[junit] <"JRuby - Copyright (C) 2001-2008 The JRuby Community (and
contribs)\r\n">.
[junit] )
[junit] Tests run: 17, Failures: 1, Errors: 0, Time elapsed: 77.607 sec
[junit]
[junit] Testcase:
test_command_line_switches(org.jruby.test.TestUnitTestSuite$ScriptTest): FAILED
[junit] Faults encountered running test\test_command_line_switches,
complete output follows:
[junit] Failure:
[junit]
test_dash_dash_copyright_displays_copyright(TestCommandLineSwitches)
[<script>:1]:
[junit] <"JRuby - Copyright (C) 2001-2008 The JRuby Community (and
contribs)\n"> expected but was
[junit] <"JRuby - Copyright (C) 2001-2008 The JRuby Community (and
contribs)\r\n">.
[junit]
[junit] junit.framework.AssertionFailedError: Faults encountered running
test\test_command_line_switches, complete output follows:
[junit] Failure:
[junit]
test_dash_dash_copyright_displays_copyright(TestCommandLineSwitches)
[<script>:1]:
[junit] <"JRuby - Copyright (C) 2001-2008 The JRuby Community (and
contribs)\n"> expected but was
[junit] <"JRuby - Copyright (C) 2001-2008 The JRuby Community (and
contribs)\r\n">.
[junit]
[junit] at
org.jruby.test.TestUnitTestSuite$ScriptTest.runTest(TestUnitTestSuite.java:210)
[junit]
[junit]
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email