Page Menu
Home
ClusterLabs Projects
Search
Configure Global Search
Log In
Files
F3151594
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
View Options
diff --git a/build-aux/check.mk b/build-aux/check.mk
index 890bf903..7b8911f5 100644
--- a/build-aux/check.mk
+++ b/build-aux/check.mk
@@ -1,46 +1,51 @@
#
# Copyright (C) 2012-2020 Red Hat, Inc. All rights reserved.
#
# Author: Fabio M. Di Nitto <fabbione@kronosnet.org>
#
# This software licensed under GPL-2.0+
#
VALGRIND = $(VALGRIND_EXEC) -q --error-exitcode=127 --gen-suppressions=all
MEMCHECK = $(VALGRIND) --track-fds=yes --leak-check=full --alignment=16 --suppressions=$(abs_top_srcdir)/build-aux/knet_valgrind_memcheck.supp
HELGRIND = $(VALGRIND) --tool=helgrind --suppressions=$(abs_top_srcdir)/build-aux/knet_valgrind_helgrind.supp
check-memcheck: $(check_PROGRAMS)
if HAS_VALGRIND
export KNETMEMCHECK=yes && \
$(MAKE) check LOG_COMPILE="libtool --mode=execute $(MEMCHECK)"
else
@echo valgrind not available on this platform
endif
check-helgrind: $(check_PROGRAMS)
if HAS_VALGRIND
export KNETHELGRIND=yes && \
$(MAKE) check LOG_COMPILE="libtool --mode=execute $(HELGRIND)"
else
@echo valgrind not available on this platform
endif
check-covscan:
if HAS_COVBUILD
rm -rf $(abs_top_builddir)/cov*
$(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
endif
else
@echo directory $(abs_top_builddir)/cov ready to be uploaded to https://scan.coverity.com
endif
else
@echo cov-build not available on this platform
endif
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Mon, Feb 24, 7:15 AM (1 d, 5 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1459430
Default Alt Text
(1 KB)
Attached To
Mode
rK kronosnet
Attached
Detach File
Event Timeline
Log In to Comment