Index: build/build.sh =================================================================== diff -u -r22bd0f3da8c3d924e50deb40e641a2891e8150f4 -re9c8b5218cd3adb111a5f2b46b89b77191479ebf --- build/build.sh (.../build.sh) (revision 22bd0f3da8c3d924e50deb40e641a2891e8150f4) +++ build/build.sh (.../build.sh) (revision e9c8b5218cd3adb111a5f2b46b89b77191479ebf) @@ -318,6 +318,15 @@ # Generate code review project getCodeReviewReport "UI" $REPORT_DIR +# Open up the statu report and parse for the word Faild. This is +# for the unit test and integration tests that are executed at another +# script. The results will be used to mark the build folder as passed or failed +failedCases=$(cat $REPORT_DIR/StatusReport.csv | grep "Failed") +if [[ ! -z $failedCases ]] +then + hasTestPassed=false +fi + # Mark pass/fail to the build folder markRemoteFolderWithPassFail $hasTestPassed $REPORT_DIR