Page Menu
Home
ClusterLabs Projects
Search
Configure Global Search
Log In
Files
F3155121
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
View Options
diff --git a/build-aux/check.mk b/build-aux/check.mk
index f61baf30..d33dc8d6 100644
--- a/build-aux/check.mk
+++ b/build-aux/check.mk
@@ -1,82 +1,82 @@
#
# Copyright (C) 2012-2021 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
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
check-annocheck-libs:
if HAS_ANNOCHECK
@echo Running annocheck libs test
- if ! $(ANNOCHECK_EXEC) --quiet .libs/*.so; then \
- $(ANNOCHECK_EXEC) --verbose .libs/*.so; \
+ if ! $(ANNOCHECK_EXEC) --skip-lto --quiet .libs/*.so; then \
+ $(ANNOCHECK_EXEC) --skip-lto --verbose .libs/*.so; \
echo annocheck libs test: FAILED; \
exit 1; \
else \
echo annocheck libs test: PASS; \
fi
else
@echo Annocheck build or binary not available
endif
# we cannot check run-path because CI builds with specific prefix/user_prefix
# and the only binaries affected are the test suite.
check-annocheck-bins:
if HAS_ANNOCHECK
@echo Running annocheck binaries test
- if ! $(ANNOCHECK_EXEC) --skip-run-path --quiet .libs/*; then \
- $(ANNOCHECK_EXEC) --skip-run-path --verbose .libs/*; \
+ if ! $(ANNOCHECK_EXEC) --skip-run-path --skip-lto --quiet .libs/*; then \
+ $(ANNOCHECK_EXEC) --skip-run-path --skip-lto --verbose .libs/*; \
echo annocheck binaries test: FAILED; \
exit 1; \
else \
echo annocheck binaries test: PASS; \
fi
else
@echo Annocheck build or binary not available
endif
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Wed, Feb 26, 7:40 PM (2 h, 48 m ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1463704
Default Alt Text
(2 KB)
Attached To
Mode
rK kronosnet
Attached
Detach File
Event Timeline
Log In to Comment