diff options
author | sorah <sorah@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-12-25 13:47:21 +0000 |
---|---|---|
committer | sorah <sorah@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-12-25 13:47:21 +0000 |
commit | 60da7a36f52bc1d558aa1ed44090259c37ac7bd4 (patch) | |
tree | becf7c812fb008e8be748d289a151f2a672a9376 /lib/test/unit/parallel.rb | |
parent | f8a4e2331b293178a8d137846875f5ce9119be82 (diff) | |
download | ruby-60da7a36f52bc1d558aa1ed44090259c37ac7bd4.tar.gz |
* lib/test/unit.rb (_run_parallel):
New option "--separate" for test/unit; when running tests with this
option, a job process will be restarted after one testcase has done.
This means all testcases will run with separated process.
* lib/test/unit/parallel.rb: Fix for above. Now parallel.rb puts
"ready!" for first ready, "ready" for afters.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/test/unit/parallel.rb')
-rw-r--r-- | lib/test/unit/parallel.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/test/unit/parallel.rb b/lib/test/unit/parallel.rb index 7a7c73d4f2..3ce95b9bd8 100644 --- a/lib/test/unit/parallel.rb +++ b/lib/test/unit/parallel.rb @@ -91,7 +91,7 @@ module Test @stdout = increment_io(STDOUT) @stdin = increment_io(STDIN) @stdout.sync = true - @stdout.puts "ready" + @stdout.puts "ready!" while buf = @stdin.gets case buf.chomp when /^loadpath (.+?)$/ |