- throw errors in example runner

- make unity optional in test runner generator (though that's not really too helpful at the moment)

git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@73 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
This commit is contained in:
mvandervoord
2010-06-06 16:59:00 +00:00
parent 32f317f6c0
commit f492adfec4
3 changed files with 6 additions and 5 deletions

View File

@ -157,6 +157,7 @@ module RakefileHelpers
results = Dir[results_glob]
summary.set_targets(results)
summary.run
raise "There were failures" if (summary.failures > 0)
end
def run_tests(test_files)
@ -222,7 +223,6 @@ module RakefileHelpers
test_results += '.testpass'
end
File.open(test_results, 'w') { |f| f.print output }
end
end