]> git.ipfire.org Git - thirdparty/haproxy.git/commit
REGTEST: replace LEVEL option by a more human readable one.
authorFrédéric Lécaille <flecaille@haproxy.com>
Fri, 29 Mar 2019 14:07:24 +0000 (15:07 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 23 Apr 2019 13:14:52 +0000 (15:14 +0200)
commitdc1a3bd99972c7f6ab7462ce05fb95ad1f651862
tree0b9bc52eb994e92487d5b4fc04eac5ae2af0d13f
parent0bad840b4db7f96d46611a5a302a04b39712509f
REGTEST: replace LEVEL option by a more human readable one.

This patch replaces LEVEL variable by REGTESTS_TYPES variable which is more
mnemonic and human readable. It is uses as a filter to run the reg tests scripts
where a commented #REGTEST_TYPE may be defined to designate their types.
Running the following command:

    $ REGTESTS_TYPES=slow,default

will start all the reg tests where REGTEST_TYPE is defines as 'slow' or 'default'.
Note that 'default' is also the default value of REGTEST_TYPE when not specified
dedicated to run all the current h*.vtc files. When REGTESTS_TYPES is not specified
there is no filter at all. All the tests are run.

This patches also defines REGTEST_TYPE with 'slow' value for all the s*.vtc files,
'bug' value for al the b*.vtc files, 'broken' value for all the k*.vtc files.
23 files changed:
Makefile
reg-tests/checks/s00000.vtc
reg-tests/checks/s00001.vtc
reg-tests/checks/s00002.vtc
reg-tests/checks/s00003.vtc
reg-tests/compression/s00000.vtc
reg-tests/connection/b00000.vtc
reg-tests/http-rules/b00000.vtc
reg-tests/log/b00000.vtc
reg-tests/lua/b00000.vtc
reg-tests/lua/b00001.vtc
reg-tests/lua/b00002.vtc
reg-tests/lua/b00003.vtc
reg-tests/mailers/k_healthcheckmail.vtc
reg-tests/peers/s_basic_sync.vtc
reg-tests/peers/s_tls_basic_sync.vtc
reg-tests/seamless-reload/b00000.vtc
reg-tests/server/b00000.vtc
reg-tests/spoe/b00000.vtc
reg-tests/ssl/b00000.vtc
reg-tests/stick-table/b00000.vtc
reg-tests/stick-table/b00001.vtc
scripts/run-regtests.sh