diff --git a/results/cppcheck_test.txt b/results/cppcheck_test.txt new file mode 100644 index 0000000..1288e1b --- /dev/null +++ b/results/cppcheck_test.txt @@ -0,0 +1,12 @@ +Checking include/LawnMower.h ... +1/6 files checked 12% done +Checking include/NavigationUtils.h ... +2/6 files checked 36% done +Checking src/LawnMower.cpp ... +3/6 files checked 56% done +Checking src/NavigationUtils.cpp ... +4/6 files checked 81% done +Checking test/NavigationUtilsTest.cpp ... +5/6 files checked 91% done +Checking test/main.cpp ... +6/6 files checked 100% done diff --git a/run_cppcheck.sh b/run_cppcheck.sh index 03f00f9..d729643 100644 --- a/run_cppcheck.sh +++ b/run_cppcheck.sh @@ -1 +1 @@ -cppcheck --language=c++ --std=c++11 -I include/ --suppress=missingIncludeSystem $( find . -name \*.h -or -name \*.cpp | grep -vE -e "^./build/" -e "^./vendor/") --output-file= results/cppcheck_test.txt \ No newline at end of file +cppcheck --language=c++ --std=c++11 -I include/ --suppress=missingIncludeSystem $( find . -name \*.h -or -name \*.cpp | grep -vE -e "^./build/" -e "^./vendor/") > results/cppcheck_test.txt