Build unittest

Build the specified unittest and run

(1)Use GUI to build unittest

Click on demo1.c code
Menu Code->Run avatar

(2)Use Command ling to build unittest

{build} arg
build specified unittest
options :
-f arg run by a case filter
-n arg specified the unittest name -w show all compling warnings -i ignore fpermissive warning
-a auto build mode
-o run only mode -r create unittest report after run

Example(demo)

build and run the unittest of demo1.c

ctestcode build demo1.c

build and run all unittest

ctestcode build all

build and run all unittest, and create coverage report

ctestcode build _ALL_