mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* test/testunit/test_parallel.rb(TestParallel#spawn_runner):
Fix outputing empty line in running test. * test/testunit/tests_for_parallel/test_third.rb: Remove `sleep` git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
66541b9a83
commit
888362cc85
3 changed files with 8 additions and 5 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
Wed Mar 2 14:02:29 2011 Shota Fukumori <sorah@tubusu.net>
|
||||||
|
|
||||||
|
* test/testunit/test_parallel.rb(TestParallel#spawn_runner):
|
||||||
|
Fix outputing empty line in running test.
|
||||||
|
|
||||||
|
* test/testunit/tests_for_parallel/test_third.rb: Remove `sleep`
|
||||||
|
|
||||||
Tue Mar 1 22:29:10 2011 Tanaka Akira <akr@fsij.org>
|
Tue Mar 1 22:29:10 2011 Tanaka Akira <akr@fsij.org>
|
||||||
|
|
||||||
* ext/openssl/ossl_pkey.h: parenthesize macro arguments.
|
* ext/openssl/ossl_pkey.h: parenthesize macro arguments.
|
||||||
|
|
|
@ -129,7 +129,7 @@ module TestParallel
|
||||||
def spawn_runner(*opt_args)
|
def spawn_runner(*opt_args)
|
||||||
@test_out, o = IO.pipe
|
@test_out, o = IO.pipe
|
||||||
@test_pid = spawn(*@options[:ruby], TESTS+"/runner.rb",
|
@test_pid = spawn(*@options[:ruby], TESTS+"/runner.rb",
|
||||||
"-j","t2","-x","sleeping",*opt_args, out: o, err: :out)
|
"-j","t2",*opt_args, out: o, err: o)
|
||||||
o.close
|
o.close
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -2,10 +2,6 @@ require 'test/unit'
|
||||||
require_relative "misc.rb"
|
require_relative "misc.rb"
|
||||||
|
|
||||||
class TestD < TestCaseForParallelTest
|
class TestD < TestCaseForParallelTest
|
||||||
def ptest_sleeping
|
|
||||||
sleep 2
|
|
||||||
end
|
|
||||||
|
|
||||||
def ptest_fail_at_worker
|
def ptest_fail_at_worker
|
||||||
if MiniTest::Unit.output != STDOUT
|
if MiniTest::Unit.output != STDOUT
|
||||||
assert_equal(0,1)
|
assert_equal(0,1)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue