]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: makefile: implement support for running a command in range
authorWilly Tarreau <w@1wt.eu>
Tue, 16 Sep 2025 07:21:34 +0000 (09:21 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 16 Sep 2025 07:23:46 +0000 (09:23 +0200)
commit90b70b61b154c68a98cf21d19225dc1dedb75ffb
tree5666a5ad1a8998b0ce07a1d4d18cf20bf61bc52b
parentf8acac653e104e90f06dd8c774ccd9d14b531546
BUILD: makefile: implement support for running a command in range

When running "make range", it would be convenient to support running
reg tests or anything else such as "size", "pahole" or even benchmarks.
Such commands are usually specific to the developer's environment, so
let's just pass a generic variable TEST_CMD that is executed as-is if
not empty.

This way it becomes possible to run "make range RANGE=... TEST_CMD=...".
Makefile