]> git.ipfire.org Git - thirdparty/haproxy.git/commit
DEBUG: init: Add a macro to register unit tests
authorOlivier Houchard <ohouchard@haproxy.com>
Tue, 4 Mar 2025 16:46:18 +0000 (17:46 +0100)
committerOlivier Houchard <cognet@ci0.org>
Tue, 4 Mar 2025 17:18:10 +0000 (18:18 +0100)
commit335ef3264b8c5ebb5bd8f0e327da90d7107e853b
treee45e95fc6324b6c6ff0d6ad13b1429da21656fd1
parent588237ca6e6624f7c1162289a6a00cab3f10ac61
DEBUG: init: Add a macro to register unit tests

Add a new macro, REGISTER_UNITTEST(), that will automatically make sure
we call hap_register_unittest(), instead of having to create a function
that will do so.
include/haproxy/init.h