[ruby-trunk - Bug #6034][Open] Error in test_Big5(TestTranscode)

Issue #6034 has been reported by Kouhei Y…


Bug #6034: Error in test_Big5(TestTranscode)
https://bugs.ruby-lang.org/issues/6034

Author: Kouhei Y.
Status: Open
Priority: Normal
Assignee:
Category:
Target version:
ruby -v: ruby 1.9.3p125 (2012-02-16 revision 34643)
[x86_64-darwin10.8.0]

Mac OS X 10.6.8 で test_Big5(TestTranscode) が Error になります。

ruby 1.9.3p105 の時点では問題が発生していないことは確認しています。

% make test-all TESTS=“ruby/test_transcode.rb”
./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext
– --disable-gems “./test/runner.rb” --ruby="./miniruby -I./lib -I.
-I.ext/common ./tool/runruby.rb --extout=.ext – --disable-gems"
ruby/test_transcode.rb
Run options: “–ruby=./miniruby -I./lib -I. -I.ext/common
./tool/runruby.rb --extout=.ext – --disable-gems”

Running tests:

E…

Finished tests in 0.317805s, 245.4335 tests/s, 8552.4142 assertions/s.

  1. Error:
    test_Big5(TestTranscode):
    Encoding::UndefinedConversionError: “\[email protected]” from Big5 to UTF-8
    /Users/ani/src/ruby-1.9.3-p125/test/ruby/test_transcode.rb:54:in
    encode' /Users/ani/src/ruby-1.9.3-p125/test/ruby/test_transcode.rb:54:incheck_both_ways’
    /Users/ani/src/ruby-1.9.3-p125/test/ruby/test_transcode.rb:1788:in
    `test_Big5’

78 tests, 2718 assertions, 0 failures, 1 errors, 0 skips
make: *** [yes-test-all] Error 1

Issue #6034 has been updated by Yui NARUSE.

Status changed from Open to Closed

パッケージ (tar.gz とか zip とかのファイル) を ruby 1.8 で作るとダメだったようです。
コードとしては r34650 / 1.9.3-p127 で修正しました。
パッケージ自体は修正して最アップロードします。

Bug #6034: Error in test_Big5(TestTranscode)
https://bugs.ruby-lang.org/issues/6034

Author: Kouhei Y.
Status: Closed
Priority: Normal
Assignee:
Category:
Target version:
ruby -v: ruby 1.9.3p125 (2012-02-16 revision 34643)
[x86_64-darwin10.8.0]

Mac OS X 10.6.8 で test_Big5(TestTranscode) が Error になります。

ruby 1.9.3p105 の時点では問題が発生していないことは確認しています。

% make test-all TESTS=“ruby/test_transcode.rb”
./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext
– --disable-gems “./test/runner.rb” --ruby="./miniruby -I./lib -I.
-I.ext/common ./tool/runruby.rb --extout=.ext – --disable-gems"
ruby/test_transcode.rb
Run options: “–ruby=./miniruby -I./lib -I. -I.ext/common
./tool/runruby.rb --extout=.ext – --disable-gems”

Running tests:

E…

Finished tests in 0.317805s, 245.4335 tests/s, 8552.4142 assertions/s.

  1. Error:
    test_Big5(TestTranscode):
    Encoding::UndefinedConversionError: “\[email protected]” from Big5 to UTF-8
    /Users/ani/src/ruby-1.9.3-p125/test/ruby/test_transcode.rb:54:in
    encode' /Users/ani/src/ruby-1.9.3-p125/test/ruby/test_transcode.rb:54:incheck_both_ways’
    /Users/ani/src/ruby-1.9.3-p125/test/ruby/test_transcode.rb:1788:in
    `test_Big5’

78 tests, 2718 assertions, 0 failures, 1 errors, 0 skips
make: *** [yes-test-all] Error 1

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs