Skip to content

Commit

Permalink
Fixed pvs analyzer.
Browse files Browse the repository at this point in the history
Free Software Free Society

To increase the frequency of commits by ctubio,
you can buy-me-a-drink with a small git-tip at:
  1GitTipB6sY2YSbkH3BJHepUB7Cjymi9R1 (BTC addr)

To force me to write more source documentation,
you can buy-me-a-drink with a small doc-tip at:
  1KDocsmbhUEh7JgmYjuMH3nDivzSM6dphP (BTC addr)

I promise to drink chocolate milk after commit.

To request new features or in case this commit breaks something for you,
please, create a new github issue with all possible information for me,
but never share your API Keys!

Signed-off-by: Carles Tubio <ctubio@users.noreply.github.com>
  • Loading branch information
ctubio committed Jan 14, 2021
1 parent 550997d commit ea6562a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/lib/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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) || ( \
Expand Down

0 comments on commit ea6562a

Please sign in to comment.