Index: local/hasFailed.sh =================================================================== diff -u --- local/hasFailed.sh (revision 0) +++ local/hasFailed.sh (revision daee9203843f0687d9ad4b026082a7c4e5cbb62c) @@ -0,0 +1,17 @@ +WD="~/workspace_UI/squish/Report/UnitTest/" +if [ "$1" != "" ]; then + WD=$1 +fi + +files=$(ls $WD/QtTest*.log) + +for file in ${files[@]}; do + result=$(grep "passed, 0 failed," $file) + echo $file + if [ "$result" == "" ]; then + echo " __________ ??? FAILED ??? __________ " + else + echo $result + fi +done +