mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2025-06-22 23:45:50 +08:00
- 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:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user