Bug #4618
closedEncoding::ConverterNotFoundErrors on trunk (Windows mingw)
Description
=begin
It appears recent newline trunk code changes cause test failures on Windows as I can't replicate the following failures in test_literal.rb, psych, or openssl on my Arch system.
For the openssl failures, I'm checking whether my recent upgrade from 0.9.8q to 0.9.8r changes things and will report back if needed.
Tested on Windows 7 Ultimate 32-bit with a trunk@31364 built using the RubyInstaller recipes and tdm-gcc 4.5.2.
$ make test
...
#339 test_literal.rb: echo foo
#=> "foo\r\n" (expected "foo\n")
#340 test_literal.rb: s = "foo"; echo #{s}
#=> "foo\r\n" (expected "foo\n")
FAIL 2/934 tests failed
make: *** [yes-btest-ruby] Error 1
$ make test-all TESTS=psych
- Error:
test_dump_file(TestPsych):
Encoding::ConverterNotFoundError: code converter not found (universal_newline,crlf_newline)
c:/projects/rubyinstaller-git/sandbox/ruby19_build/.ext/common/psych/visitors/emitter.rb:20:inend_document' c:/projects/rubyinstaller-git/sandbox/ruby19_build/.ext/common/psych/visitors/emitter.rb:20:in
visit_Psych_Nodes_Document'
c:/projects/rubyinstaller-git/sandbox/ruby19_build/.ext/common/psych/visitors/visitor.rb:15:invisit' c:/projects/rubyinstaller-git/sandbox/ruby19_build/.ext/common/psych/visitors/visitor.rb:5:in
accept'
c:/projects/rubyinstaller-git/sandbox/ruby19_build/.ext/common/psych/visitors/emitter.rb:13:inblock in visit_Psych_Nodes_Stream' c:/projects/rubyinstaller-git/sandbox/ruby19_build/.ext/common/psych/visitors/emitter.rb:13:in
each'
c:/projects/rubyinstaller-git/sandbox/ruby19_build/.ext/common/psych/visitors/emitter.rb:13:invisit_Psych_Nodes_Stream' c:/projects/rubyinstaller-git/sandbox/ruby19_build/.ext/common/psych/visitors/visitor.rb:15:in
visit'
c:/projects/rubyinstaller-git/sandbox/ruby19_build/.ext/common/psych/visitors/visitor.rb:5:inaccept' c:/projects/rubyinstaller-git/sandbox/ruby19_build/.ext/common/psych/nodes/node.rb:46:in
to_yaml'
c:/projects/rubyinstaller-git/sandbox/ruby19_build/.ext/common/psych.rb:190:indump' c:/Users/Jon/Documents/RubyDev/ruby-git/test/psych/test_psych.rb:68:in
block in test_dump_file'
398 tests, 1112 assertions, 0 failures, 1 errors, 0 skips
$ make test-all TESTS=openssl
...
-
Error:
test_add_value(OpenSSL::TestConfig):
Encoding::ConverterNotFoundError: code converter not found (universal_newline,crlf_newline)
c:/Users/Jon/Documents/RubyDev/ruby-git/test/openssl/test_config.rb:13:in `setup' -
Error:
test_aref(OpenSSL::TestConfig):
Encoding::ConverterNotFoundError: code converter not found (universal_newline,crlf_newline)
c:/Users/Jon/Documents/RubyDev/ruby-git/test/openssl/test_config.rb:13:in `setup' -
Error:
test_aset(OpenSSL::TestConfig):
Encoding::ConverterNotFoundError: code converter not found (universal_newline,crlf_newline)
c:/Users/Jon/Documents/RubyDev/ruby-git/test/openssl/test_config.rb:13:in `setup' -
Error:
test_clone(OpenSSL::TestConfig):
Encoding::ConverterNotFoundError: code converter not found (universal_newline,crlf_newline)
c:/Users/Jon/Documents/RubyDev/ruby-git/test/openssl/test_config.rb:13:in `setup' -
Error:
test_constants(OpenSSL::TestConfig):
Encoding::ConverterNotFoundError: code converter not found (universal_newline,crlf_newline)
c:/Users/Jon/Documents/RubyDev/ruby-git/test/openssl/test_config.rb:13:in `setup' -
Error:
test_dup(OpenSSL::TestConfig):
Encoding::ConverterNotFoundError: code converter not found (universal_newline,crlf_newline)
c:/Users/Jon/Documents/RubyDev/ruby-git/test/openssl/test_config.rb:13:in `setup' -
Error:
test_each(OpenSSL::TestConfig):
Encoding::ConverterNotFoundError: code converter not found (universal_newline,crlf_newline)
c:/Users/Jon/Documents/RubyDev/ruby-git/test/openssl/test_config.rb:13:in `setup' -
Error:
test_freeze(OpenSSL::TestConfig):
Encoding::ConverterNotFoundError: code converter not found (universal_newline,crlf_newline)
c:/Users/Jon/Documents/RubyDev/ruby-git/test/openssl/test_config.rb:13:in `setup' -
Error:
test_get_value(OpenSSL::TestConfig):
Encoding::ConverterNotFoundError: code converter not found (universal_newline,crlf_newline)
c:/Users/Jon/Documents/RubyDev/ruby-git/test/openssl/test_config.rb:13:in `setup' -
Error:
test_get_value_ENV(OpenSSL::TestConfig):
Encoding::ConverterNotFoundError: code converter not found (universal_newline,crlf_newline)
c:/Users/Jon/Documents/RubyDev/ruby-git/test/openssl/test_config.rb:13:in `setup' -
Error:
test_initialize(OpenSSL::TestConfig):
Encoding::ConverterNotFoundError: code converter not found (universal_newline,crlf_newline)
c:/Users/Jon/Documents/RubyDev/ruby-git/test/openssl/test_config.rb:13:in `setup' -
Error:
test_initialize_with_empty_file(OpenSSL::TestConfig):
Encoding::ConverterNotFoundError: code converter not found (universal_newline,crlf_newline)
c:/Users/Jon/Documents/RubyDev/ruby-git/test/openssl/test_config.rb:13:in `setup' -
Error:
test_initialize_with_example_file(OpenSSL::TestConfig):
Encoding::ConverterNotFoundError: code converter not found (universal_newline,crlf_newline)
c:/Users/Jon/Documents/RubyDev/ruby-git/test/openssl/test_config.rb:13:in `setup' -
Error:
test_inspect(OpenSSL::TestConfig):
Encoding::ConverterNotFoundError: code converter not found (universal_newline,crlf_newline)
c:/Users/Jon/Documents/RubyDev/ruby-git/test/openssl/test_config.rb:13:in `setup' -
Error:
test_s_load(OpenSSL::TestConfig):
Encoding::ConverterNotFoundError: code converter not found (universal_newline,crlf_newline)
c:/Users/Jon/Documents/RubyDev/ruby-git/test/openssl/test_config.rb:13:in `setup' -
Error:
test_s_parse(OpenSSL::TestConfig):
Encoding::ConverterNotFoundError: code converter not found (universal_newline,crlf_newline)
c:/Users/Jon/Documents/RubyDev/ruby-git/test/openssl/test_config.rb:13:in `setup' -
Error:
test_s_parse_format(OpenSSL::TestConfig):
Encoding::ConverterNotFoundError: code converter not found (universal_newline,crlf_newline)
c:/Users/Jon/Documents/RubyDev/ruby-git/test/openssl/test_config.rb:13:in `setup' -
Error:
test_section(OpenSSL::TestConfig):
Encoding::ConverterNotFoundError: code converter not found (universal_newline,crlf_newline)
c:/Users/Jon/Documents/RubyDev/ruby-git/test/openssl/test_config.rb:13:in `setup' -
Error:
test_sections(OpenSSL::TestConfig):
Encoding::ConverterNotFoundError: code converter not found (universal_newline,crlf_newline)
c:/Users/Jon/Documents/RubyDev/ruby-git/test/openssl/test_config.rb:13:in `setup' -
Error:
test_to_s(OpenSSL::TestConfig):
Encoding::ConverterNotFoundError: code converter not found (universal_newline,crlf_newline)
c:/Users/Jon/Documents/RubyDev/ruby-git/test/openssl/test_config.rb:13:in `setup' -
Error:
test_value(OpenSSL::TestConfig):
Encoding::ConverterNotFoundError: code converter not found (universal_newline,crlf_newline)
c:/Users/Jon/Documents/RubyDev/ruby-git/test/openssl/test_config.rb:13:in `setup' -
Error:
test_value_ENV(OpenSSL::TestConfig):
Encoding::ConverterNotFoundError: code converter not found (universal_newline,crlf_newline)
c:/Users/Jon/Documents/RubyDev/ruby-git/test/openssl/test_config.rb:13:in `setup'
=end