From: Dr. David von Oheimb Date: Sat, 27 Jun 2020 13:45:58 +0000 (+0200) Subject: test/run_tests.pl: Add alias REPORT_FAILURES{,_PROGRESS} for VF and VFP X-Git-Tag: openssl-3.0.0-alpha5~109 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=94fcec0902ec6df54a6286f61e35fa6f93815fd6;p=thirdparty%2Fopenssl.git test/run_tests.pl: Add alias REPORT_FAILURES{,_PROGRESS} for VF and VFP Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/12279) --- diff --git a/test/README.md b/test/README.md index d5591dc00fc..a9e0c827d1d 100644 --- a/test/README.md +++ b/test/README.md @@ -27,12 +27,13 @@ Full verbosity, showing full output of all successful and failed test cases $ mms /macro=(V=1) test ! OpenVMS $ nmake V=1 test # Windows -Verbosity on failed (sub-)tests only (`VERBOSE_FAILURE` or `VF`): +Verbosity on failed (sub-)tests only +(`VERBOSE_FAILURE` or `VF` or `REPORT_FAILURES`): $ make test VF=1 Verbosity on failed (sub-)tests, in addition progress on succeeded (sub-)tests -(`VERBOSE_FAILURE_PROGRESS` or `VFP`): +(`VERBOSE_FAILURE_PROGRESS` or `VFP` or `REPORT_FAILURES_PROGRESS`): $ make test VFP=1 diff --git a/test/run_tests.pl b/test/run_tests.pl index 61f9ee35c0c..d47f7cf1e66 100644 --- a/test/run_tests.pl +++ b/test/run_tests.pl @@ -10,13 +10,15 @@ use strict; use warnings; # Recognise VERBOSE aka V which is common on other projects. -# Additionally, recognise VERBOSE_FAILURE aka VF. -# and recognise VERBOSE_FAILURE_PROGRESS aka VFP. +# Additionally, recognise VERBOSE_FAILURE aka VF aka REPORT_FAILURES +# and recognise VERBOSE_FAILURE_PROGRESS aka VFP aka REPORT_FAILURES_PROGRESS. BEGIN { $ENV{HARNESS_VERBOSE} = "yes" if $ENV{VERBOSE} || $ENV{V}; - $ENV{HARNESS_VERBOSE_FAILURE} = "yes" if $ENV{VERBOSE_FAILURE} || $ENV{VF}; + $ENV{HARNESS_VERBOSE_FAILURE} = "yes" + if $ENV{VERBOSE_FAILURE} || $ENV{VF} || $ENV{REPORT_FAILURES}; $ENV{HARNESS_VERBOSE_FAILURE_PROGRESS} = "yes" - if $ENV{VERBOSE_FAILURE_PROGRESS} || $ENV{VFP}; + if ($ENV{VERBOSE_FAILURE_PROGRESS} || $ENV{VFP} + || $ENV{REPORT_FAILURES_PROGRESS}); } use File::Spec::Functions qw/catdir catfile curdir abs2rel rel2abs/;