diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-05-23 16:17:23 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-05-23 16:17:23 +0200 |
commit | 33231f44da6c4eeb5dbf5e7d6d04237d32a63457 (patch) | |
tree | ca5b9d8b0dda3fd6d98e5844f7b76f11e2e68416 | |
parent | 7fb26774021986a08d03db968a7826ee64ea7410 (diff) | |
download | samba-33231f44da6c4eeb5dbf5e7d6d04237d32a63457.tar.gz samba-33231f44da6c4eeb5dbf5e7d6d04237d32a63457.tar.bz2 samba-33231f44da6c4eeb5dbf5e7d6d04237d32a63457.zip |
Report full 'path' of unexpected test results for easier inclusion in knownfailure file.
(This used to be commit 33cc9b0f5fae7510d490928195016cf7fe3bbe42)
-rw-r--r-- | source4/selftest/output/plain.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/selftest/output/plain.pm b/source4/selftest/output/plain.pm index f14e26b38d..4bec4e0fdc 100644 --- a/source4/selftest/output/plain.pm +++ b/source4/selftest/output/plain.pm @@ -123,7 +123,9 @@ sub end_test($$$$$) return; } - $append = "UNEXPECTED($result): $testname\n"; + my $fullname = join(".", @$parents).".$testname"; + + $append = "UNEXPECTED($result): $testname ($fullname)\n"; $self->{test_output}->{$self->{NAME}} .= $append; |