]> git.ipfire.org Git - thirdparty/haproxy.git/commit
REGTEST: script: Add support of alternatives in requited options list
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 21 Dec 2018 14:18:02 +0000 (15:18 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 21 Dec 2018 14:33:26 +0000 (15:33 +0100)
commit7e245dfaca61a94a95f36b208d5864a4b43883fc
treed556b90eb42636d920ad746f880e05a523df0059
parenta8f6b43b07c13279d2234be44b24f4a56adedd03
REGTEST: script: Add support of alternatives in requited options list

It is now possible to specify a list of "alternatives" for a required
option. This must be done by separating options by a pipe ('|'). A test will be
executed if at least one of them is available. For instance:

  #REQUIRED_OPTIONS=ZLIB|SLZ,LUA,OPENSSL

The function _findtest() has also been sligthly simplified.
scripts/run-regtests.sh