From 7969a777350b41751560689cb94ea9bbb8f89e32 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Thu, 6 Feb 2014 23:55:25 +0100 Subject: [PATCH] tests: Document use of the MEMDEBUG_LOG_SYNC macro --- tests/README | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/README b/tests/README index 3ddc1c93e..1e5a87973 100644 --- a/tests/README +++ b/tests/README @@ -144,7 +144,9 @@ The cURL Test Suite runtests.pl's -t option will enable torture testing mode, which runs each test many times and makes each different memory allocation fail on each successive run. This tests the out of memory error handling code to ensure - that memory leaks do not occur even in those situations. + that memory leaks do not occur even in those situations. It can help to + compile curl with CPPFLAGS=-DMEMDEBUG_LOG_SYNC when using this option, to + ensure that the memory log file is properly written even if curl crashes. 1.7 Debug