File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,8 @@ project_docs_api_target?=zpc_doxygen
1919version? =$(shell git describe --tags --always 2> /dev/null || echo "0")
2020
2121# Allow overloading from env if needed
22+ SHELL =/bin/bash -o pipefail
23+
2224# VERBOSE?=1
2325BUILD_DEV_GUI? =OFF
2426BUILD_IMAGE_PROVIDER? =ON
@@ -40,6 +42,7 @@ packages+=python3-defusedxml # For extract_get.py
4042# TODO: remove for offline build
4143packages+=curl wget python3-pip
4244packages+ =expect
45+ packages+ =cppcheck
4346
4447# For docs
4548packages+ =graphviz
@@ -242,7 +245,12 @@ ${build_dir}: ${build_dir}/CMakeCache.txt
242245test : ${build_dir}
243246 ctest --test-dir ${<} /${project_test_dir}
244247
245- check : test
248+ cppcheck :
249+ $@ --version
250+ $@ --quiet -i " ${build_dir} " --error-exitcode=1 . | tr -d ' [:cntrl:]' # pipefail
251+
252+ check : cppcheck test
253+
246254
247255zwa_project? =z-wave-stack-binaries
248256zwa_ver? =25.1.0-28-g7e0b50f
You can’t perform that action at this time.
0 commit comments