On Fri, Jul 03, 2026 at 11:02:31PM +0200, Tim Duesterhus wrote: > Hi > > with the end of life of HAProxy 2.4, all supported HAProxy versions support > the `-cc` flag to check the build configuration. This allows to simplify the > test runner logic by removing the "special comments" in favor of the robust > builtin feature. > > Only "EXCLUDE_TARGET(S)" and "REGTEST_TYPE" remains now. I would've liked to > also remove the former, but from what I this this is not yet supported by -cc. > Using haproxy -v with a grep might be an option, because parsing the target is > reasonably simple compared to parsing the features. But perhaps it makes sense > to add a TARGET variable that can be checked with streq? I can imagine it > might > also be useful for conditional configs as well.
Having a TARGET variable could be useful indeed, we don't have much thing that are OS specific but they exist. > > Best regards > Thanks, merged in master. > -- William Lallemand

