lib/calasmash/cucumber.rb in calasmash-1.0.1 vs lib/calasmash/cucumber.rb in calasmash-1.0.2
- old
+ new
@@ -38,22 +38,21 @@
Open3.popen3 command do |stdin, out, err, wait_thr|
[out, err].each do |stream|
Thread.new do
until (line = stream.gets).nil? do
- print "."
- output << line
+ puts line
end
end
end
wait_thr.join
status = wait_thr.value.exitstatus
end
if status != 0
- puts "\n Compilation failed: \n\n #{output}"
+ puts "\n Cucumber failed"
exit status
else
completed
end
end
@@ -85,9 +84,10 @@
command += " OS=ios#{@ios.to_i} SDK_VERSION=#{@ios}" if @ios
command += " DEVICE_TARGET=simulator"
command += " --format #{self.format}" if self.format
command += " --out #{self.output}" if self.output
command += @tags.to_a.empty? ? "" : tag_arguments
+ command += " -c"
command
end
#