summaryrefslogtreecommitdiffstats
path: root/source4/selftest/output
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-10-02 15:52:23 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:07:41 -0500
commitf069623aceeb74b4e19abc4e81f899f6ada390e5 (patch)
tree1e6aa87dcd7e5d4b04abab13588d98082820659c /source4/selftest/output
parent650abae845accfa4ef38b388408b76607ce33fe8 (diff)
downloadsamba-f069623aceeb74b4e19abc4e81f899f6ada390e5.tar.gz
samba-f069623aceeb74b4e19abc4e81f899f6ada390e5.tar.xz
samba-f069623aceeb74b4e19abc4e81f899f6ada390e5.zip
r25464: improve build-farm output...
metze (This used to be commit 7b5d5777cb8cef5e502ae0851f600c7019eefa17)
Diffstat (limited to 'source4/selftest/output')
-rw-r--r--source4/selftest/output/buildfarm.pm8
1 files changed, 6 insertions, 2 deletions
diff --git a/source4/selftest/output/buildfarm.pm b/source4/selftest/output/buildfarm.pm
index a9077c33721..efb1e3ef5b4 100644
--- a/source4/selftest/output/buildfarm.pm
+++ b/source4/selftest/output/buildfarm.pm
@@ -59,7 +59,7 @@ sub end_testsuite($$$$$)
if ($ret == $expected_ret) {
$out .= "ALL OK\n";
} else {
- $out .= "ERROR: $ret";
+ $out .= "ERROR: $ret\n";
$out .= $self->{test_output}->{$state->{NAME}};
}
@@ -85,7 +85,11 @@ sub start_test($$$)
sub end_test($$$$$$)
{
- my ($self, $state, $testname, $result, $expected, $reason) = @_;
+ my ($self, $state, $testname, $result, $unexpected, $reason) = @_;
+
+ return unless ($unexpected);
+
+ $self->{test_output}->{$state->{NAME}} .= "UNEXPECTED($result): $testname\n";
}
sub summary($)