提交 75ba4073 编写于 作者: B Behdad Esfahbod

[test] Rename valgrind-log to log-vaglring.txt

上级 e3b0ba8e
...@@ -78,14 +78,14 @@ check-gtester: ...@@ -78,14 +78,14 @@ check-gtester:
$(AM_V_at)$(MAKE) $(AM_MAKEFLGS) check-tool-raw TOOL="$(GTESTER) --verbose" $(AM_V_at)$(MAKE) $(AM_MAKEFLGS) check-tool-raw TOOL="$(GTESTER) --verbose"
# Check tests under valgrind. Saves log to valgrind-log # Check tests under valgrind. Saves log to log-valgrind.txt
VALGRIND_FLAGS = \ VALGRIND_FLAGS = \
--tool=memcheck --suppressions=$(srcdir)/.valgrind-suppressions \ --tool=memcheck --suppressions=$(srcdir)/.valgrind-suppressions \
--track-origins=yes \ --track-origins=yes \
--leak-check=yes --leak-check=yes
$(EXTRA_VALGRIND_FLAGS) $(EXTRA_VALGRIND_FLAGS)
# Can't do for now: --show-reachable=yes # Can't do for now: --show-reachable=yes
CLEANFILES += valgrind-log CLEANFILES += log-valgrind.txt
valgrind_verbose = $(valgrind_verbose_$(V)) valgrind_verbose = $(valgrind_verbose_$(V))
valgrind_verbose_ = $(valgrind_verbose_$(AM_DEFAULT_VERBOSITY)) valgrind_verbose_ = $(valgrind_verbose_$(AM_DEFAULT_VERBOSITY))
valgrind_verbose_0 = | \ valgrind_verbose_0 = | \
...@@ -93,7 +93,7 @@ valgrind_verbose_0 = | \ ...@@ -93,7 +93,7 @@ valgrind_verbose_0 = | \
# TODO: The following check does not fail if valgrind finds error. It should. # TODO: The following check does not fail if valgrind finds error. It should.
check-valgrind: check-valgrind:
$(AM_V_at)$(MAKE) $(AM_MAKEFLGS) check-tool TOOL="valgrind $(VALGRIND_FLAGS)" \ $(AM_V_at)$(MAKE) $(AM_MAKEFLGS) check-tool TOOL="valgrind $(VALGRIND_FLAGS)" \
2>&1 | tee valgrind-log $(valgrind_verbose) 2>&1 | tee log-valgrind.txt $(valgrind_verbose)
# check-symbols: Finds untested API symbols # check-symbols: Finds untested API symbols
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册