Bug #7579

TestGemExtCmakeBuilder#test_self_build failed in ja_JP.UTF-8 locale

Added by Kazuhiro NISHIYAMA over 1 year ago. Updated over 1 year ago.

[ruby-core:50928]
Status:Closed
Priority:Normal
Assignee:Eric Hodel
Category:test
Target version:2.0.0
ruby -v:ruby 2.0.0dev (2012-12-16 trunk 38415) [x86_64-linux] Backport:

Description

TestGemExtCmakeBuilder#testselfbuild failed in ja_JP.UTF-8 locale.
It should set locale C before invoking make.
Attached patch will revolve this issue.

1) Failure:
testselfbuild(TestGemExtCmakeBuilder) [.../ruby/test/rubygems/testgemextcmakebuilder.rb:46]:
--- expected
+++ actual
@@ -1 +1,3 @@
-""
+"make[1]: ディレクトリ .../tmp/test/test_rubygems_16184/ext' に入ります
+make[1]: ディレクトリ
.../tmp/test/testrubygems16184/ext' から出ます
+"

test_gem_ext_cmake_builder.rb.diff Magnifier (519 Bytes) Kazuhiro NISHIYAMA, 12/17/2012 07:25 AM


Related issues

Related to ruby-trunk - Bug #7563: test of gem_ext_cmake_builder in another directory Closed 12/15/2012

Associated revisions

Revision 38438
Added by Eric Hodel over 1 year ago

  • lib/rubygems/specification.rb: Fixed ruby output of requirements with multiple version specifiers.
  • test/rubygems/testgemextcmakebuilder.rb: Only look for specific lines in cmake output. Should fix [ruby-trunk - Bug #7579]

History

#1 Updated by Luis Lavena over 1 year ago

  • Status changed from Open to Assigned

#2 Updated by Eric Hodel over 1 year ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

This issue was solved with changeset r38438.
Kazuhiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


  • lib/rubygems/specification.rb: Fixed ruby output of requirements with multiple version specifiers.
  • test/rubygems/testgemextcmakebuilder.rb: Only look for specific lines in cmake output. Should fix [ruby-trunk - Bug #7579]

#3 Updated by Kazuhiro NISHIYAMA over 1 year ago

I confirmed this issue fixed.
Thank you.

Also available in: Atom PDF