Index: build/build.sh =================================================================== diff -u -re9c8b5218cd3adb111a5f2b46b89b77191479ebf -r722eeb2d5902aebb20c9434a6c5eeb23bbbd550d --- build/build.sh (.../build.sh) (revision e9c8b5218cd3adb111a5f2b46b89b77191479ebf) +++ build/build.sh (.../build.sh) (revision 722eeb2d5902aebb20c9434a6c5eeb23bbbd550d) @@ -299,12 +299,23 @@ cp $out_path/$gcc_out/denali $REPORT_DIR/$REPORT_DIR/bin/$gcc_out sync;sync;sync; +# 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 + getManualCases # Generate code reviews # Leave the sub workspace cd .. +echo $(pwd) + # Delete all the previous excel files rm -rf *.xlsx @@ -318,15 +329,8 @@ # 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