Revert "spec: skip Process wait specs on MJIT"

This reverts r63731 (commit 359dd59db2512d801bb983f98bede4fc598f139a).

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
normal 2018-06-27 03:16:59 +00:00
parent fd14dcddbe
commit 910418fca6
4 changed files with 108 additions and 120 deletions

View File

@ -39,9 +39,3 @@ end
def with_feature(*features, &block) def with_feature(*features, &block)
FeatureGuard.new(*features).run_if(:with_feature, &block) FeatureGuard.new(*features).run_if(:with_feature, &block)
end end
MSpecEnv.class_eval do
def without_feature(*features, &block)
FeatureGuard.new(*features).run_unless(:without_feature, &block)
end
end

View File

@ -14,7 +14,6 @@ describe "Process.wait2" do
end end
end end
without_feature :mjit do # [Bug #14867]
platform_is_not :windows do platform_is_not :windows do
it "returns the pid and status of child process" do it "returns the pid and status of child process" do
pidf = Process.fork { Process.exit! 99 } pidf = Process.fork { Process.exit! 99 }
@ -30,5 +29,4 @@ describe "Process.wait2" do
lambda { Process.wait2 }.should raise_error(Errno::ECHILD) lambda { Process.wait2 }.should raise_error(Errno::ECHILD)
lambda { Process.wait2 }.should raise_error(StandardError) lambda { Process.wait2 }.should raise_error(StandardError)
end end
end
end end

View File

@ -12,7 +12,6 @@ describe "Process.wait" do
end end
end end
without_feature :mjit do # [Bug #14867]
it "raises an Errno::ECHILD if there are no child processes" do it "raises an Errno::ECHILD if there are no child processes" do
lambda { Process.wait }.should raise_error(Errno::ECHILD) lambda { Process.wait }.should raise_error(Errno::ECHILD)
end end
@ -88,5 +87,4 @@ describe "Process.wait" do
lambda { Process.kill(0, pid) }.should raise_error(Errno::ESRCH) lambda { Process.kill(0, pid) }.should raise_error(Errno::ESRCH)
end end
end end
end
end end

View File

@ -8,7 +8,6 @@ describe "Process.waitall" do
end end
end end
without_feature :mjit do # [Bug #14867]
it "returns an empty array when there are no children" do it "returns an empty array when there are no children" do
Process.waitall.should == [] Process.waitall.should == []
end end
@ -46,5 +45,4 @@ describe "Process.waitall" do
} }
end end
end end
end
end end