summaryrefslogtreecommitdiff
path: root/selftest/output
diff options
context:
space:
mode:
Diffstat (limited to 'selftest/output')
-rw-r--r--selftest/output/buildfarm.pm13
1 files changed, 11 insertions, 2 deletions
diff --git a/selftest/output/buildfarm.pm b/selftest/output/buildfarm.pm
index bd21fc683d..09b84de99e 100644
--- a/selftest/output/buildfarm.pm
+++ b/selftest/output/buildfarm.pm
@@ -69,14 +69,22 @@ sub output_msg($$)
{
my ($self, $output) = @_;
- $self->{test_output}->{$self->{NAME}} .= $output;
+ if (defined($self->{NAME})) {
+ $self->{test_output}->{$self->{NAME}} .= $output;
+ } else {
+ print $output;
+ }
}
sub control_msg($$)
{
my ($self, $output) = @_;
- $self->{test_output}->{$self->{NAME}} .= $output;
+ if (defined($self->{NAME})) {
+ $self->{test_output}->{$self->{NAME}} .= $output;
+ } else {
+ print $output;
+ }
}
sub end_testsuite($$$$$$)
@@ -89,6 +97,7 @@ sub end_testsuite($$$$$$)
if ($result ne "success") {
$self->{statistics}->{SUITES_FAIL}++;
}
+ $self->{NAME} = undef;
}
sub start_test($$$)