From f3408b40d8e0f4aa5b533e55ed3bca1db802a7ad Mon Sep 17 00:00:00 2001 From: Arunava Date: Tue, 7 Dec 2021 12:53:48 -0500 Subject: [PATCH] [2.19] Added cppcheck results --- results/cppcheck_test.txt | 12 ++++++++++++ run_cppcheck.sh | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 results/cppcheck_test.txt 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