diff options
author | Dr. David von Oheimb <David.von.Oheimb@siemens.com> | 2020-06-27 15:45:58 +0200 |
---|---|---|
committer | Dr. David von Oheimb <David.von.Oheimb@siemens.com> | 2020-07-03 10:12:22 +0200 |
commit | 94fcec0902ec6df54a6286f61e35fa6f93815fd6 (patch) | |
tree | 0de82685298332f274bd0ddcb61bc36a35cbf95c /test | |
parent | test/run_tests.pl: Add visual separator after failed test case for VFP and VF... (diff) | |
download | openssl-94fcec0902ec6df54a6286f61e35fa6f93815fd6.tar.xz openssl-94fcec0902ec6df54a6286f61e35fa6f93815fd6.zip |
test/run_tests.pl: Add alias REPORT_FAILURES{,_PROGRESS} for VF and VFP
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/12279)
Diffstat (limited to 'test')
-rw-r--r-- | test/README.md | 5 | ||||
-rw-r--r-- | test/run_tests.pl | 10 |
2 files changed, 9 insertions, 6 deletions
diff --git a/test/README.md b/test/README.md index d5591dc00f..a9e0c827d1 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 61f9ee35c0..d47f7cf1e6 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/; |