mirror of
https://github.com/MariaDB/server.git
synced 2025-02-02 03:51:50 +01:00
Merge r18085. No actual changes. Refs #2467. [t:2467].
git-svn-id: file:///svn/toku/tokudb@18649 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
83ad86f23e
commit
e21e3b6328
2 changed files with 17 additions and 0 deletions
|
@ -71,6 +71,22 @@ else
|
|||
$(SUMMARIZE_CMD)
|
||||
endif
|
||||
|
||||
# check to see if that logic makes an error when there is a leak.
|
||||
try-leak.tdbrun: try-leak
|
||||
ifeq ($(VGRIND),)
|
||||
./$< $(SUMMARIZE_CMD)
|
||||
else
|
||||
$(VGRIND) --error-exitcode=1 --quiet --leak-check=full --log-file=$<.check.valgrind ./$< >$<.check.output 2>&1; \
|
||||
if [ $$? = 0 ] ; then \
|
||||
lines=`cat $<.check.valgrind | wc -l`; \
|
||||
if [ $$lines -ne 0 ] ; then cat $<.check.valgrind; test 0 = 1; fi \
|
||||
else \
|
||||
test 0 = 1; \
|
||||
fi \
|
||||
$(INVERTER) \
|
||||
$(SUMMARIZE_CMD)
|
||||
endif
|
||||
|
||||
try-assert0.tdbrun: try-assert0
|
||||
./$< 2> /dev/null $(INVERTER) $(SUMMARIZE_CMD)
|
||||
|
||||
|
|
|
@ -61,6 +61,7 @@
|
|||
toku_os_get_max_process_data_size;
|
||||
toku_os_get_phys_memory_size;
|
||||
|
||||
toku_do_assert;
|
||||
toku_do_assert_fail;
|
||||
toku_set_assert_on_write_enospc;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue