]> git.kaiwu.me - haproxy.git/commit
MINOR: reg-tests: add --extra to run tests needing optional tools
authorFrederic Lecaille <flecaille@haproxy.com>
Wed, 18 Nov 2026 16:30:52 +0000 (17:30 +0100)
committerFrederic Lecaille <flecaille@haproxy.com>
Wed, 18 Nov 2026 17:00:24 +0000 (18:00 +0100)
commitf3d7324944e2880770d1f67a7363bee5f3e9451e
treee10b9f6f6130951abe6aaa12410ac4e8b2f6d452
parent3c85b929c881ca65de08a20003034161336dbe48
MINOR: reg-tests: add --extra to run tests needing optional tools

Some VTC files need helper programs that are not built with HAProxy, such
as the Python QUIC client in reg-tests/quic/qclient/. They cannot simply be
typed 'slow' or 'devel' instead: their type says what they check, and the CI
jobs select tests by type.

Add a new --extra option to run-regtests.sh. A VTC file declares the helper
it needs:

    #REGTEST_EXTRA=qclient

and is skipped unless that name is listed in the --extra option. From the
Makefile, options are passed after '--':

    $ make reg-tests -- --extra qclient

The filter only adds tests: files without the directive, and the selection
made by --type/REGTESTS_TYPES, are unchanged.

Not to be backported: this is development tooling.
Makefile
scripts/run-regtests.sh