diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2009-06-05 14:06:32 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2009-06-11 19:59:58 +0200 |
commit | 8a76e4ab29264e0c2aa7b9f786fcaff42ae42ed9 (patch) | |
tree | 2e1271b2784b02a1831b224366b133af00a79a53 /selftest/output/html.pm | |
parent | 4308e69084c3455072a4e256c84bf3b2b013f31e (diff) | |
download | samba-8a76e4ab29264e0c2aa7b9f786fcaff42ae42ed9.tar.gz samba-8a76e4ab29264e0c2aa7b9f786fcaff42ae42ed9.tar.xz samba-8a76e4ab29264e0c2aa7b9f786fcaff42ae42ed9.zip |
selftest/subunit: Remove prefix command.
Diffstat (limited to 'selftest/output/html.pm')
-rw-r--r-- | selftest/output/html.pm | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/selftest/output/html.pm b/selftest/output/html.pm index d4d8204ea88..c3ed4ca5e7b 100644 --- a/selftest/output/html.pm +++ b/selftest/output/html.pm @@ -94,6 +94,8 @@ sub start_testsuite($$) { my ($self, $name) = @_; + $self->{START_TIME} = $self->{last_time}; + $self->{local_statistics} = { success => 0, skip => 0, @@ -200,26 +202,15 @@ sub report_time($$) sub start_test($$) { - my ($self, $parents, $testname) = @_; - - if ($#$parents == -1) { - $self->{START_TIME} = $self->{last_time}; - $self->start_testsuite($testname); - return; - } + my ($self, $testname) = @_; $self->{active_test} = $testname; $self->{msg} = ""; } -sub end_test($$$$$$) +sub end_test($$$$) { - my ($self, $parents, $testname, $result, $unexpected, $reason) = @_; - - if ($#$parents == -1) { - $self->end_testsuite($testname, $result, $unexpected, $reason); - return; - } + my ($self, $testname, $result, $unexpected, $reason) = @_; print TEST "<tr>"; |