Commit e21e3b63 authored by Bradley C. Kuszmaul's avatar Bradley C. Kuszmaul Committed by Yoni Fogel

Merge r18085. No actual changes. Refs #2467. [t:2467].

git-svn-id: file:///svn/toku/tokudb@18649 c7de825b-a66e-492c-adef-691d508d4ae1
parent 83ad86f2
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment