mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-30 05:44:20 +01:00
run-test-suites: update the documentation
Update the documentation to mention the optional verbosity level with -v. Print the documentation on --help. Die on an unsupported option.
This commit is contained in:
parent
01b34fb316
commit
15db850fe9
@ -4,19 +4,21 @@
|
|||||||
#
|
#
|
||||||
# This file is part of mbed TLS (https://tls.mbed.org)
|
# This file is part of mbed TLS (https://tls.mbed.org)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2015-2016, ARM Limited, All Rights Reserved
|
# Copyright (c) 2015-2018, ARM Limited, All Rights Reserved
|
||||||
#
|
|
||||||
# Purpose
|
=head1 SYNOPSIS
|
||||||
#
|
|
||||||
# Executes all the available test suites, and provides a basic summary of the
|
Execute all the test suites and print a summary of the results.
|
||||||
# results.
|
|
||||||
#
|
run-test-suites.pl [[-v|--verbose] [VERBOSITY]]
|
||||||
# Usage: run-test-suites.pl [-v]
|
|
||||||
#
|
Options:
|
||||||
# Options :
|
|
||||||
# -v|--verbose - Provide a pass/fail/skip breakdown per test suite and
|
-v|--verbose Print detailed failure information.
|
||||||
# in total
|
-v 2|--verbose=2 Print detailed failure information and summary messages.
|
||||||
#
|
-v 3|--verbose=3 Print detailed information about every test case.
|
||||||
|
|
||||||
|
=cut
|
||||||
|
|
||||||
use warnings;
|
use warnings;
|
||||||
use strict;
|
use strict;
|
||||||
@ -24,10 +26,13 @@ use strict;
|
|||||||
use utf8;
|
use utf8;
|
||||||
use open qw(:std utf8);
|
use open qw(:std utf8);
|
||||||
|
|
||||||
use Getopt::Long;
|
use Getopt::Long qw(:config auto_help);
|
||||||
|
use Pod::Usage;
|
||||||
|
|
||||||
my $verbose = 0;
|
my $verbose = 0;
|
||||||
GetOptions( "verbose|v:1" => \$verbose );
|
GetOptions(
|
||||||
|
'verbose|v:1' => \$verbose,
|
||||||
|
) or die;
|
||||||
|
|
||||||
# All test suites = executable files, excluding source files, debug
|
# All test suites = executable files, excluding source files, debug
|
||||||
# and profiling information, etc. We can't just grep {! /\./} because
|
# and profiling information, etc. We can't just grep {! /\./} because
|
||||||
|
Loading…
Reference in New Issue
Block a user