summaryrefslogtreecommitdiff
path: root/selftest/selftest.pl
diff options
context:
space:
mode:
Diffstat (limited to 'selftest/selftest.pl')
-rwxr-xr-xselftest/selftest.pl3
1 files changed, 3 insertions, 0 deletions
diff --git a/selftest/selftest.pl b/selftest/selftest.pl
index 3653523541..7e64208ff3 100755
--- a/selftest/selftest.pl
+++ b/selftest/selftest.pl
@@ -686,6 +686,9 @@ if ($opt_format eq "buildfarm") {
require output::html;
mkdir("test-results", 0777);
$msg_ops = new output::html("test-results", $statistics);
+} elsif ($opt_format eq "subunit") {
+ require output::subunit;
+ $msg_ops = new output::subunit();
} else {
die("Invalid output format '$opt_format'");
}