summaryrefslogtreecommitdiff
path: root/selftest/output/plain.pm
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2009-06-05 14:06:32 +0200
committerJelmer Vernooij <jelmer@samba.org>2009-06-11 19:59:58 +0200
commit8a76e4ab29264e0c2aa7b9f786fcaff42ae42ed9 (patch)
tree2e1271b2784b02a1831b224366b133af00a79a53 /selftest/output/plain.pm
parent4308e69084c3455072a4e256c84bf3b2b013f31e (diff)
downloadsamba-8a76e4ab29264e0c2aa7b9f786fcaff42ae42ed9.tar.gz
samba-8a76e4ab29264e0c2aa7b9f786fcaff42ae42ed9.tar.bz2
samba-8a76e4ab29264e0c2aa7b9f786fcaff42ae42ed9.zip
selftest/subunit: Remove prefix command.
Diffstat (limited to 'selftest/output/plain.pm')
-rw-r--r--selftest/output/plain.pm21
1 files changed, 3 insertions, 18 deletions
diff --git a/selftest/output/plain.pm b/selftest/output/plain.pm
index 9d92a3e071..2427136073 100644
--- a/selftest/output/plain.pm
+++ b/selftest/output/plain.pm
@@ -133,26 +133,13 @@ sub end_testsuite($$$$$)
sub start_test($$$)
{
- my ($self, $parents, $testname) = @_;
-
- if ($#$parents == -1) {
- $self->start_testsuite($testname);
- }
+ my ($self, $testname) = @_;
}
sub end_test($$$$$)
{
- my ($self, $parents, $testname, $result, $unexpected, $reason) = @_;
+ my ($self, $testname, $result, $unexpected, $reason) = @_;
- if ($#$parents == -1) {
- if ($result eq "skip") {
- $self->skip_testsuite($testname, $reason);
- } else {
- $self->end_testsuite($testname, $result, $unexpected, $reason);
- }
- return;
- }
-
my $append = "";
unless ($unexpected) {
@@ -167,9 +154,7 @@ sub end_test($$$$$)
return;
}
- my $fullname = join(".", @$parents).".$testname";
-
- $append = "UNEXPECTED($result): $testname ($fullname)\n";
+ $append = "UNEXPECTED($result): $testname\n";
$self->{test_output}->{$self->{NAME}} .= $append;