Print the test output if the build fails

This commit is contained in:
Ross Boucher
2009-04-09 13:18:04 -07:00
parent 417f5c3f0f
commit dc014e9b1d
+1
View File
@@ -80,6 +80,7 @@ task :test => [:build] do
if build_result.match(/Test suite failed/i)
puts "tests failed, aborting the build"
puts build_result
rake abort
end
end