[squid-dev] [PATCH] Selectively enable debugs() statements in unit tests

Kinkie gkinkie at gmail.com
Wed Feb 18 09:01:54 UTC 2015


Hi,
  sometimes it's useful to be able to rely on debugs output in unit tests.

This patch enables that. In order to turn on debugs, the unit test .cc file must
#define ENABLE_DEBUG_SECTION {section_number}
BEFORE the #include block.


-- 
    Francesco
-------------- next part --------------
A non-text attachment was scrubbed...
Name: enable-debugs-in-unit-tests.patch
Type: application/octet-stream
Size: 2457 bytes
Desc: not available
URL: <http://lists.squid-cache.org/pipermail/squid-dev/attachments/20150218/bbbd25ea/attachment.obj>


More information about the squid-dev mailing list