提交 9c5213f1 编写于 作者: G greg-williams

* Fixed hang upon CMock mock verification detecting a failure

git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@10 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
上级 e8c1dcf3
......@@ -131,8 +131,8 @@ class UnityTestRunnerGenerator
output.puts("#{@tab}#{@tab}CMock_Init();") unless (used_mocks.empty?)
output.puts("#{@tab}#{@tab}setUp();")
output.puts("#{@tab}#{@tab}test();")
output.puts("#{@tab}#{@tab}CMock_Verify();") unless (used_mocks.empty?)
output.puts("#{@tab}}")
output.puts("#{@tab}CMock_Verify();") unless (used_mocks.empty?)
output.puts("#{@tab}CMock_Destroy();") unless (used_mocks.empty?)
output.puts("#{@tab}tearDown();")
output.puts("}")
......
......@@ -7,10 +7,10 @@ require 'set'
require 'auto/unity_test_summary'
#USE THIS ONE IF YOU WANT TO TRY THIS WITH GCC
require 'rakefile_helper_GCC'
#require 'rakefile_helper_GCC'
#USE THIS ONE IF YOU WANT TO TRY THIS WITH IAR
#require 'rakefile_helper_IAR'
require 'rakefile_helper_IAR'
include RakefileHelpers
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册