Skip to content

Commit

Permalink
[tests] sets defaults for coverity scan check to match CI
Browse files Browse the repository at this point in the history
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
  • Loading branch information
fabbione committed Jul 9, 2020
1 parent 83bccd7 commit 04cac3c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion build-aux/check.mk
Expand Up @@ -33,7 +33,12 @@ if HAS_COVBUILD
$(MAKE) -C $(abs_top_builddir) clean
$(COVBUILD_EXEC) --dir=$(abs_top_builddir)/cov $(MAKE) -C $(abs_top_builddir)
if HAS_COVANALYZE
$(COVANALYZE_EXEC) --dir=$(abs_top_builddir)/cov --wait-for-license $(covoptions)
if [ -z "$(covoptions)" ]; then \
COVOPTS="--all --disable STACK_USE --disable-parse-warnings";\
else \
COVOPTS="$(covoptions)";\
fi; \
$(COVANALYZE_EXEC) --dir=$(abs_top_builddir)/cov --wait-for-license $$COVOPTS
if HAS_COVFORMATERRORS
$(COVFORMATERRORS_EXEC) --dir=$(abs_top_builddir)/cov --emacs-style > $(abs_top_builddir)/cov.output.txt
$(COVFORMATERRORS_EXEC) --dir=$(abs_top_builddir)/cov --html-output $(abs_top_builddir)/cov.html
Expand Down

0 comments on commit 04cac3c

Please sign in to comment.