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

Revert "spec: skip Process wait specs on MJIT"

This reverts r63731 (commit 359dd59db2).

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)
FeatureGuard.new(*features).run_if(:with_feature, &block)
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
without_feature :mjit do # [Bug #14867]
platform_is_not :windows do
it "returns the pid and status of child process" do
pidf = Process.fork { Process.exit! 99 }
@ -31,4 +30,3 @@ describe "Process.wait2" do
lambda { Process.wait2 }.should raise_error(StandardError)
end
end
end

View file

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

View file

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