diff options
author | Richard Levitte <levitte@openssl.org> | 2019-09-11 11:05:11 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2019-09-12 14:38:00 +0200 |
commit | e3d9a6b5f0157d92aa5bbfdb0f95fd55be9a0396 (patch) | |
tree | b23eea44c997f5de0dbb2ff6de3594e1600364da /demos | |
parent | f3503cb0f6ffe19c03c731b4b6069f26584917b4 (diff) |
Rework test/run_tests.pl to support selective verbosity and TAP copy
This includes a complete rework of how we use TAP::Harness, by adding
a TAP::Parser subclass that allows additional callbacks to be passed
to perform what we need. The TAP::Parser callbacks we add are:
ALL to print all the TAP output to a file (conditionally)
to collect all the TAP output to an array (conditionally)
EOF to print all the collected TAP output (if there is any)
if any subtest failed
To get TAP output to file, the environment variable HARNESS_TAP_COPY
must be defined, with a file name as value. That file will be
overwritten unconditionally.
To get TAP output displayed on failure, the make variable VERBOSE_FAILURE
or VF must be defined with a non-emoty value.
Additionally, the output of test recipe names has been changed to only
display its basename.
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/9862)
Diffstat (limited to 'demos')
0 files changed, 0 insertions, 0 deletions