From 60da7a36f52bc1d558aa1ed44090259c37ac7bd4 Mon Sep 17 00:00:00 2001 From: sorah Date: Sun, 25 Dec 2011 13:47:21 +0000 Subject: * 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 --- lib/test/unit/parallel.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/test/unit/parallel.rb') 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 (.+?)$/ -- cgit v1.2.3