原创 c++test资料整理

2011-2-10 09:49 2205 8 8 分类: 工程师职场

Windows设置环境变量


add path:


C:\cygwin\bin;C:\Program Files\Parasoft\C++test7.3


Windows下命令行方式生成bdf,创建工程,生成报告:


1motify the makefile
#CC=gcc
ifeq ($(BUILD_MODE),PARASOFT_CPPTEST)
CC='C:\Program Files\Parasoft\C++test7.3\cpptestscan' --cpptestscanOutputFile=./Timer.bdf --cpptestscanProjectName=Timer gcc
else
CC=gcc
endif


or use command
C:\Program Files\Parasoft\C++test7.3\Examples\Timer>make CC="cpptestscan --cpptestscanOutputFile=./Timer.bdf --cpptestscanProjectName=Timer gcc" clean all


2


C:\Program Files\Parasoft\C++test7.3\Examples\Timer>cpptestcli -resource "Timer" -config "util/CreateProjectOnly" -bdf Timer.bdf


3
C:\Program Files\Parasoft\C++test7.3\Examples\Timer>cpptestcli -resource "Timer" -config "builtin://CRules" -report "Timer_report"


 

PARTNER CONTENT

文章评论0条评论)

登录后参与讨论
我要评论
0
8
关闭 站长推荐上一条 /3 下一条