Index: build/build.sh =================================================================== diff -u -r1f8b57748e76d8b918eeb0bae6cc3d0e7a12b680 -rc2636ef8b23e14b09520f1a49890b1fc82e6443a --- build/build.sh (.../build.sh) (revision 1f8b57748e76d8b918eeb0bae6cc3d0e7a12b680) +++ build/build.sh (.../build.sh) (revision c2636ef8b23e14b09520f1a49890b1fc82e6443a) @@ -95,17 +95,18 @@ ./setupscript/projectsetup.sh "ui" cd application echo " ------------------------------ run the cppcheck" -./cppcheck.sh ../$out_path/ +cppCheckStatus=$(runCppcheck $(pwd) $REMOTE_DIR $STATUS_REPORT) +#./cppcheck.sh ../$out_path/ cd .. echo " ------------------------------ set the build type (debug/release)" buildType "$1" cd $out_path -echo " ------------------------------ run the cppcheck diff" -app_path=../$pro_path -diff $app_path/cppcheck.log cppcheck.log 1> cppcheck.logdiff.log 2> cppcheck.logdiff.err -diff $app_path/cppcheck.err cppcheck.err 1> cppcheck.errdiff.log 2> cppcheck.errdiff.err +#echo " ------------------------------ run the cppcheck diff" +#app_path=../$pro_path +#diff $app_path/cppcheck.log cppcheck.log 1> cppcheck.logdiff.log 2> cppcheck.logdiff.err +#diff $app_path/cppcheck.err cppcheck.err 1> cppcheck.errdiff.log 2> cppcheck.errdiff.err # ============================================================= echo " ------------------------------ Start building [$gcc_out]" @@ -130,8 +131,10 @@ if [[ $(grep "warning:" $build_err) != "" ]]; then echo "WARNING: Application Build Has Warnings [$gcc_out]" + echo "Application build warnings:, $gcc_out" >> $STATUS_REPORT #exit 3 fi +echo "" >> $STATUS_REPORT cd .. # ============================================================= Index: build/unittest.sh =================================================================== diff -u -r54af14bd9c41d89c8a1f43684b34983cf16392e7 -rc2636ef8b23e14b09520f1a49890b1fc82e6443a --- build/unittest.sh (.../unittest.sh) (revision 54af14bd9c41d89c8a1f43684b34983cf16392e7) +++ build/unittest.sh (.../unittest.sh) (revision c2636ef8b23e14b09520f1a49890b1fc82e6443a) @@ -342,6 +342,7 @@ function main() { setup_Script_Environment + exit 0 setup_System_Environment # has to be after setup_Script_Environment ran clone_Repositories make_Directories