Permalink
Browse files

Give waxsim more time to end the session before we try again.

  • Loading branch information...
1 parent 011c070 commit 4a5a90c22c6ba010993c9d43421b14a38b29603e Rob Holland committed Jun 25, 2010
Showing with 20 additions and 2 deletions.
  1. +16 −0 iCuke.gemspec
  2. +2 −2 lib/icuke/cucumber.rb
  3. +2 −0 lib/icuke/waxsim.rb
View
@@ -63,7 +63,23 @@ Gem::Specification.new do |s|
"ext/WaxSim/WaxSim.m",
"ext/WaxSim/WaxSim.xcodeproj/project.pbxproj",
"ext/WaxSim/WaxSim_Prefix.pch",
+ "ext/WaxSim/build/Release/waxsim",
+ "ext/WaxSim/build/Release/waxsim.dSYM/Contents/Info.plist",
+ "ext/WaxSim/build/Release/waxsim.dSYM/Contents/Resources/DWARF/waxsim",
+ "ext/WaxSim/build/WaxSim.build/Release/WaxSim.build/Objects-normal/x86_64/Simulator.o",
+ "ext/WaxSim/build/WaxSim.build/Release/WaxSim.build/Objects-normal/x86_64/WaxSim.o",
+ "ext/WaxSim/build/WaxSim.build/Release/WaxSim.build/Objects-normal/x86_64/waxsim.LinkFileList",
+ "ext/WaxSim/build/WaxSim.build/Release/WaxSim.build/WaxSim.dep",
+ "ext/WaxSim/build/WaxSim.build/Release/WaxSim.build/WaxSim~.dep",
+ "ext/WaxSim/build/WaxSim.build/Release/WaxSim.build/build-state.dat",
+ "ext/WaxSim/build/WaxSim.build/Release/WaxSim.build/build-state~.dat",
+ "ext/WaxSim/build/WaxSim.build/Release/WaxSim.build/waxsim-all-target-headers.hmap",
+ "ext/WaxSim/build/WaxSim.build/Release/WaxSim.build/waxsim-generated-files.hmap",
+ "ext/WaxSim/build/WaxSim.build/Release/WaxSim.build/waxsim-own-target-headers.hmap",
+ "ext/WaxSim/build/WaxSim.build/Release/WaxSim.build/waxsim-project-headers.hmap",
+ "ext/WaxSim/build/WaxSim.build/Release/WaxSim.build/waxsim.hmap",
"ext/WaxSim/iPhoneSimulatorRemoteClient/iPhoneSimulatorRemoteClient.h",
+ "ext/bin/waxsim",
"ext/iCuke/.gitignore",
"ext/iCuke/Rakefile",
"ext/iCuke/libicuke-sdk3.1.dylib",
View
@@ -181,8 +181,8 @@ def direction_modifier(direction)
ICukeWorld.new
end
-After do |scenario|
- quit unless scenario.failed?
+After do
+ quit
end
Given /^(?:"([^\"]*)" from )?"([^\"]*)" is loaded in the (?:(iphone|ipad) )?simulator(?: with SDK ([0-9.]+))?$/ do |target, project, platform, sdk_version|
View
@@ -31,6 +31,8 @@ def launch(project_file, options = {})
def quit
@simulator.kill('QUIT')
+ @simulator.wait
+ sleep 1
end
end
end

0 comments on commit 4a5a90c

Please sign in to comment.