mirror of
https://github.com/openvswitch/ovs
synced 2025-08-30 22:05:19 +00:00
tests: Enable Valgrind for userspace system tests.
Signed-off-by: Darrell Ball <dlu998@gmail.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
This commit is contained in:
@@ -233,6 +233,13 @@ check-kernel-valgrind: all $(valgrind_wrappers) $(check_DATA)
|
||||
@echo '----------------------------------------------------------------------'
|
||||
@echo 'Valgrind output can be found in tests/system-kmod-testsuite.dir/*/valgrind.*'
|
||||
@echo '----------------------------------------------------------------------'
|
||||
check-userspace-valgrind: all $(valgrind_wrappers) $(check_DATA)
|
||||
set $(SHELL) '$(SYSTEM_USERSPACE_TESTSUITE)' -C tests VALGRIND='$(VALGRIND)' AUTOTEST_PATH='tests/valgrind:$(AUTOTEST_PATH)' -d $(TESTSUITEFLAGS) -j1; \
|
||||
"$$@" || (test X'$(RECHECK)' = Xyes && "$$@" --recheck)
|
||||
@echo
|
||||
@echo '----------------------------------------------------------------------'
|
||||
@echo 'Valgrind output can be found in tests/system-userspace-testsuite.dir/*/valgrind.*'
|
||||
@echo '----------------------------------------------------------------------'
|
||||
check-helgrind: all $(valgrind_wrappers) $(check_DATA)
|
||||
-$(SHELL) '$(TESTSUITE)' -C tests CHECK_VALGRIND=true VALGRIND='$(HELGRIND)' AUTOTEST_PATH='tests/valgrind:$(AUTOTEST_PATH)' -d $(TESTSUITEFLAGS)
|
||||
|
||||
|
Reference in New Issue
Block a user