[英]CPPcheck html report
我有一個問題,有什么辦法可以使用cppcheck-htmlreport從幾個xml生成一個html文件?
通常我這樣做:
/cppcheck-htmlreport --file /vobs/stn/dev/linux/cppcheck/xmlreport_v1.xml --title "xml1 test" --report-dir .
現在我想做這樣的事情
/cppcheck-htmlreport --file /vobs/stn/dev/linux/cppcheck/*.xml --title "xml1 test" --report-dir .
但是當我推薦cppcheck時,它只轉換一個xml文件...
有誰能夠幫助我?
對不起,我的英語不好。
你試過了嗎
cat *.xml >> newXmlFile.xml
在調用cppcheck-htmlreport之前? cat命令連接當前文件夾中所有xml文件的xml內容,並將結果存儲到newXmlFile.xml中。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.