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 /Configurations | |
parent | util/perl/OpenSSL/Test.pm: Disable stdout/stderr redirection on non-verbosity (diff) | |
download | openssl-e3d9a6b5f0157d92aa5bbfdb0f95fd55be9a0396.tar.xz openssl-e3d9a6b5f0157d92aa5bbfdb0f95fd55be9a0396.zip |
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 'Configurations')
-rw-r--r-- | Configurations/descrip.mms.tmpl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Configurations/descrip.mms.tmpl b/Configurations/descrip.mms.tmpl index 0bc1492eea..6cbbb01565 100644 --- a/Configurations/descrip.mms.tmpl +++ b/Configurations/descrip.mms.tmpl @@ -114,6 +114,7 @@ BLDDIR={- $config{builddir} -} # Allow both V and VERBOSE to indicate verbosity. This only applies # to testing. VERBOSE=$(V) +VERBOSE_FAILURE=$(VF) VERSION={- "$config{full_version}" -} MAJOR={- $config{major} -} |