diff --git a/Makefile b/Makefile index 73157c02b..2e178c884 100644 --- a/Makefile +++ b/Makefile @@ -291,6 +291,7 @@ test-c: ifndef KSRC @$(foreach src,$(SOURCE),$(MAKE) -s $@ KSRC=$(src);) else + @pvs-studio-analyzer credentials PVS-Studio Free FREE-FREE-FREE-FREE > /dev/null 2>&1 @pvs-studio-analyzer analyze -e src/bin/$(KSRC)/$(KSRC).test.h -e src/lib/Krypto.ninja-test.h -e $(KLOCAL)/include --source-file test/static_code_analysis.cxx --cl-params $(KARGS) test/static_code_analysis.cxx && \ (echo $(KSRC) `plog-converter -a GA:1,2 -t tasklist -o report.tasks PVS-Studio.log | tail -n+8 | sed '/Total messages/d'` && cat report.tasks | sed '/Help: The documentation/d' && rm report.tasks) || : @clang-tidy -header-filter=$(realpath src) -checks='modernize-*' test/static_code_analysis.cxx -- $(KARGS) 2> /dev/null diff --git a/src/lib/Makefile b/src/lib/Makefile index fd637351a..1ec26d3fe 100644 --- a/src/lib/Makefile +++ b/src/lib/Makefile @@ -31,7 +31,7 @@ check: # ncurses | $(V_NCUR) | $(shell curl -s https://www.gnu.org/software/ncurses/ | grep "Announcing " | head -n1 | cut -d' ' -f5 | cut -d'<' -f1) # json | $(V_JSON) | $(shell curl -s https://api.github.com/repos/nlohmann/json/tags | grep "name" | head -n1 | cut -d'v' -f2 | cut -d'"' -f1) # catch | $(V_CATCH) | $(shell curl -s https://api.github.com/repos/catchorg/Catch2/tags | grep "name" | head -n1 | cut -d'v' -f2 | cut -d'"' -f1) - # uv | $(V_UV) | $(shell curl -s https://api.github.com/repos/libuv/libuv/tags | grep "name" | head -n1 | cut -d'v' -f2 | cut -d'"' -f1) + # uv | $(V_UV) | $(shell curl -s https://api.github.com/repos/libuv/libuv/tags | grep "name" | head -n1 | cut -d'v' -f2 | cut -d'"' -f1) zlib: test -d $(KBUILD)/zlib-$(V_ZLIB) || ( \