1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* test/testunit/test_parallel.rb (TestParallel::TestParallelWorker#

setup): now can run on Windows, probably.

* test/testunit/test_parallel.rb (TestParallel::TestParalle#setup):
  ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
usa 2011-06-15 18:09:47 +00:00
parent a8bdd28d10
commit 72e8077957
2 changed files with 8 additions and 10 deletions

View file

@ -1,3 +1,11 @@
Thu Jun 16 03:08:11 2011 NAKAMURA Usaku <usa@ruby-lang.org>
* test/testunit/test_parallel.rb (TestParallel::TestParallelWorker#
setup): now can run on Windows, probably.
* test/testunit/test_parallel.rb (TestParallel::TestParalle#setup):
ditto.
Thu Jun 16 03:00:26 2011 NAKAMURA Usaku <usa@ruby-lang.org>
* thread.c (do_select): Windows: no need to poll if select(2) is

View file

@ -8,10 +8,6 @@ module TestParallel
class TestParallelWorker < Test::Unit::TestCase
def setup
if /mswin|mingw|cygwin/ =~ RUBY_PLATFORM
skip "parallel testing doesn't support Windows yet."
end
i, @worker_in = IO.pipe
@worker_out, o = IO.pipe
@worker_pid = spawn(*@options[:ruby], PARALLEL_RB,
@ -123,12 +119,6 @@ module TestParallel
end
class TestParallel < Test::Unit::TestCase
def setup
if /mswin|mingw|cygwin/ =~ RUBY_PLATFORM
skip "parallel testing doesn't support Windows yet."
end
end
def spawn_runner(*opt_args)
@test_out, o = IO.pipe
@test_pid = spawn(*@options[:ruby], TESTS+"/runner.rb",