Project

General

Profile

Actions

Bug #6604

closed

trunkでtest-all が完走しない (-j 使用時のみ)

Added by kosaki (Motohiro KOSAKI) over 12 years ago. Updated over 12 years ago.

Status:
Closed
Target version:
ruby -v:
ruby 2.0.0dev (2012-06-18 trunk 36125) [x86_64-linux]
Backport:
[ruby-dev:45765]

Description

make test-all TESTS="-j8 -v -q" すると、LinuxでもMacでも以下のエラーが出て完走しません

TestGemCommandsHelpCommand#test_gem_no_args_shows_help = 0.00 s = .
TestGemCommandsHelpCommand#test_gem_help_commands = 0.04 s = E
TestGemCommandsHelpCommand#test_gem_help_platforms = 0.00 s = .
TestGemCommandsHelpCommand#test_gem_help_bad = 0.00 s = .
/Users/kosaki/ruby/git/lib/test/unit.rb:534:in load': undefined class/module Gem::Installer:: (ArgumentError) from /Users/kosaki/ruby/git/lib/test/unit.rb:534:in block in _run_parallel'
from /Users/kosaki/ruby/git/lib/test/unit.rb:503:in each' from /Users/kosaki/ruby/git/lib/test/unit.rb:503:in _run_parallel'
from /Users/kosaki/ruby/git/lib/test/unit.rb:651:in _run_suites' from /Users/kosaki/ruby/git/lib/minitest/unit.rb:792:in _run_anything'
from /Users/kosaki/ruby/git/lib/minitest/unit.rb:981:in run_tests' from /Users/kosaki/ruby/git/lib/minitest/unit.rb:968:in block in _run'
from /Users/kosaki/ruby/git/lib/minitest/unit.rb:967:in each' from /Users/kosaki/ruby/git/lib/minitest/unit.rb:967:in _run'
from /Users/kosaki/ruby/git/lib/minitest/unit.rb:956:in run' from /Users/kosaki/ruby/git/lib/test/unit.rb:21:in run'
from /Users/kosaki/ruby/git/lib/test/unit.rb:765:in run' from /Users/kosaki/ruby/git/lib/test/unit.rb:818:in run'
from /Users/kosaki/ruby/git/lib/test/unit.rb:822:in run' from ../test/runner.rb:15:in '
make: *** [yes-test-all] Error 1
[1] 8830 exit 2 make check OPTS="-v -q" TESTS="-v -q -j8"

Updated by sorah (Sorah Fukumori) over 12 years ago

  • Status changed from Assigned to Feedback

ruby 2.0.0dev (2012-06-25 trunk 36211) [x86_64-darwin11.3.0] で再現しませんでした。

Actions #2

Updated by kosaki (Motohiro KOSAKI) over 12 years ago

  • Status changed from Feedback to Assigned

ruby 2.0.0dev (2012-06-25 trunk 36211) [x86_64-darwin11.3.0] で再現しませんでした。

エスパーではないので、この文章から求めているフィードバックを読み取ることはできません。
ruby 2.0.0dev (2012-06-25 trunk 36213) [x86_64-darwin11.4.0] では再現します。

Actions #3

Updated by naruse (Yui NARUSE) over 12 years ago

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

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


  • lib/test/unit/parallel.rb: workaround fix for rubygems.
    RubyGems can't find rake if the source directory is not equal to
    the directory which is running the test. [Bug #6604]
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0