mirror of
https://github.com/samba-team/samba.git
synced 2025-02-02 09:47:23 +03:00
selftest/plain: Allow caller to not specify the number of expected
testsuites to run.
This commit is contained in:
parent
7fddc71caa
commit
2e7022eda0
@ -65,7 +65,11 @@ sub start_testsuite($$)
|
||||
$self->{test_output}->{$name} = "" unless($self->{verbose});
|
||||
|
||||
my $out = "";
|
||||
$out .= "[$self->{index}/$self->{totalsuites} in ".$duration."s";
|
||||
$out .= "[$self->{index}";
|
||||
if ($self->{totalsuites}) {
|
||||
$out .= "/$self->{totalsuites}";
|
||||
}
|
||||
$out.= " in ".$duration."s";
|
||||
$out .= sprintf(", %d errors", ($#{$self->{suitesfailed}}+1)) if ($#{$self->{suitesfailed}} > -1);
|
||||
$out .= "] $name";
|
||||
if ($self->{immediate}) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user