• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

UltraMonkey-L7 V3(multi-thread implementation)


Commit MetaInfo

修訂48f396ed8b7d78b344e1dc22d8039c226ff607d9 (tree)
時間2010-10-07 22:29:25
作者0809216 <0809216@1ed6...>
Commiter0809216

Log Message

change ok/ng check

git-svn-id: http://10.144.169.20/repos/um/branches/l7vsd-3.x-ramiel-epoll-cond@10350 1ed66053-1c2d-0410-8867-f7571e6e31d3

Change Summary

差異

--- a/test/umtest.sh
+++ b/test/umtest.sh
@@ -193,13 +193,15 @@ done
193193
194194 # Count OK and NG
195195 echo "############# Summary ###############" | tee -a ${REPORT_FILE}
196-grep -v "^Test failed" ${REPORT_FILE} |
197-awk 'BEGIN{OkCon=0;NgCon=0;}
198- {if($2 == "OK")
199- OkCon++;
200- if($2 == "NG")
201- NgCon++;}
202- END{printf("OK=%d\tNG=%d\n",OkCon,NgCon)}' | tee -a ${REPORT_FILE}
196+perl -ne "print if m/^[^\t]+\t(?:OK|NG)/" ${REPORT_FILE} |
197+ awk 'BEGIN { OkCon=0; NgCon=0; }
198+ {
199+ if ($2 == "OK")
200+ OkCon++;
201+ if ($2 == "NG")
202+ NgCon++;
203+ }
204+ END { printf("OK=%d\tNG=%d\n", OkCon, NgCon) }' | tee -a ${REPORT_FILE}
203205 LOG "Test scripts end."
204206 ###################
205207 # Aftertreatment