]> granicus.if.org Git - curl/commitdiff
tests: Document use of the MEMDEBUG_LOG_SYNC macro
authorDan Fandrich <dan@coneharvesters.com>
Thu, 6 Feb 2014 22:55:25 +0000 (23:55 +0100)
committerDan Fandrich <dan@coneharvesters.com>
Thu, 6 Feb 2014 22:56:47 +0000 (23:56 +0100)
tests/README

index 3ddc1c93e4ce04e2d44e9760d25e64bf440b3072..1e5a879732956c1733501fb7bfadd55dbfa2f482 100644 (file)
@@ -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