Index: build/build.sh =================================================================== diff -u -r250a8ce08ccc9910d65207a07eaa9c454a538b93 -rba8f705b0702f0da1a78c96c861c9681898824d2 --- build/build.sh (.../build.sh) (revision 250a8ce08ccc9910d65207a07eaa9c454a538b93) +++ build/build.sh (.../build.sh) (revision ba8f705b0702f0da1a78c96c861c9681898824d2) @@ -47,14 +47,10 @@ export minorVersion=${buildVariables[1]} export buildNumber=${buildVariables[2]} -echo "before tag $(pwd)" - # Call this function to check # if the repository has to be tagged or not tagUIRepository -echo "after tag $(pwd)" - # gcc env gcc_qmake="/opt/Qt$QT_VER/5.12.5/gcc_64/bin/qmake" gcc_make="/usr/bin/make" @@ -206,8 +202,6 @@ #./cppcheck.sh ../$out_path/ #TODO remove cd .. -echo "after cppcheck $(pwd)" - echo " ------------------------------ set the build type (debug/release)" buildType "$1" cd $out_path @@ -249,8 +243,6 @@ echo "" >> $STATUS_REPORT cd .. -echo "After poky build $(pwd)" - # ============================================================= echo " ------------------------------ Start building [$poky_out]" mkdir -p $poky_out @@ -310,7 +302,9 @@ # 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") +# NOTE: find for Failed before adding the manual cases since there might be a +# function containing the name Failed in it +failedCases=$(cat $STATUS_REPORT/StatusReport.csv | grep "Failed") if [[ ! -z $failedCases ]] then hasTestPassed=false @@ -321,7 +315,6 @@ # Generate code reviews # Leave the sub workspace cd .. -echo $(pwd) # Delete all the previous excel files rm -rf *.xlsx