1
0
mirror of https://github.com/ThrowTheSwitch/Unity.git synced 2026-01-23 00:15:58 +01:00

reenable results summary.

support tests named spec as well.
clean up UnityBegin to make us not have to dig inside it to inject the filename.
Add UNITY_OUTPUT_START() and UNITY_OUTPUT_COMPLETE() for future use.
This commit is contained in:
Mark VanderVoord
2014-07-30 22:12:49 -04:00
parent a4a2eb787d
commit 14b074336b
5 changed files with 35 additions and 30 deletions

View File

@@ -172,12 +172,12 @@ module RakefileHelpers
def report_summary
summary = UnityTestSummary.new
summary.set_root_path(UNITY_ROOT )
summary.set_root_path(UNITY_ROOT)
results_glob = "#{$cfg['compiler']['build_path']}*.test*"
results_glob.gsub!(/\\/, '/')
results = Dir[results_glob]
summary.set_targets(results)
summary.run
report summary.run
end
def run_tests(test_files)