Index: build/build.sh =================================================================== diff -u -r03f1b552a68d0b7e88eb0d110773c092cbdedb0c -rca759c7dde22e1d28c51c3fe979ac25640fbd218 --- build/build.sh (.../build.sh) (revision 03f1b552a68d0b7e88eb0d110773c092cbdedb0c) +++ build/build.sh (.../build.sh) (revision ca759c7dde22e1d28c51c3fe979ac25640fbd218) @@ -196,7 +196,7 @@ echo " ------------------------------Setting upt the project" git clone ssh://git@dvm-linux02:7999/bl/setupscript.git ./setupscript/projectsetup.sh ${buildSpecs[$PROJECT_NAME_INDEX]} ${buildSpecs[$PROJECT_CHECKOUT_INDEX]} \ - ${buildSpecs[$COMMON_CHECKOUT_INDEX]} + ${buildSpecs[$COMMON_CHECKOUT_INDEX]} cd application cppCheckStatus=$(runCppcheck $(pwd) $REMOTE_DIR $STATUS_REPORT) if [[ $cppCheckStatus -eq 1 ]] Index: build/unittest.sh =================================================================== diff -u -ra5ba6a8e0977858a2dfa9faef0042881a736ad94 -rca759c7dde22e1d28c51c3fe979ac25640fbd218 --- build/unittest.sh (.../unittest.sh) (revision a5ba6a8e0977858a2dfa9faef0042881a736ad94) +++ build/unittest.sh (.../unittest.sh) (revision ca759c7dde22e1d28c51c3fe979ac25640fbd218) @@ -302,12 +302,12 @@ # Go to data folder cd data - # Check for ERROR in the results-v1.js file. - # NOTE: ERROR must be all upper case, it is case sensitive - local unitTestCoverage=$(cat results-v1.js | grep "ERROR") + # Check for ERROR or FATAL in the results-v1.js file. + # NOTE: ERROR or FATAL must be all upper case, it is case sensitive + local unitTestCoverage=$(cat results-v1.js | grep -w "ERROR\|FATAL") # If there are any errors, Check for the word PASS - # NOTE: PASS is upper case. If there is an ERROR, there should not be a PASS + # NOTE: PASS is upper case. If there is an ERROR or FATAL, there should not be a PASS if [[ ! -z $unitTestCoverage ]] then local unitTestCoveragePct=$(echo $unitTestCoverage | grep "PASS")