Setting non-zero error exit code to cppcheck and jerry_test.sh.
This commit is contained in:
@@ -167,12 +167,12 @@ check: tests
|
|||||||
@ cd $(OUT_DIR)
|
@ cd $(OUT_DIR)
|
||||||
|
|
||||||
@ echo "=== Running cppcheck ==="
|
@ echo "=== Running cppcheck ==="
|
||||||
@cppcheck $(HEADERS) $(SOURCES) --enable=all --std=c99
|
@ cppcheck $(HEADERS) $(SOURCES) --error-exitcode=1 --enable=all --std=c99
|
||||||
@ echo Done
|
@ echo Done
|
||||||
@ echo
|
@ echo
|
||||||
|
|
||||||
@ echo "=== Running unit tests ==="
|
@ echo "=== Running unit tests ==="
|
||||||
./tools/jerry_unittest.sh $(OUT_DIR)/tests.host $(UNITTESTS)
|
@ ./tools/jerry_unittest.sh $(OUT_DIR)/tests.host $(UNITTESTS)
|
||||||
@ echo Done
|
@ echo Done
|
||||||
@ echo
|
@ echo
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user