summaryrefslogtreecommitdiff
path: root/selftest/selftest.pl
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2009-05-13 19:42:41 +0200
committerJelmer Vernooij <jelmer@samba.org>2009-06-03 16:26:29 +0200
commit53aeb7f4cf4935fbf48d745e6f38a9793120c1a9 (patch)
tree779369a18390472e427018457afdbecf165d068f /selftest/selftest.pl
parent87bbae7b0768d3606877a79155e42be0fa2843d8 (diff)
downloadsamba-53aeb7f4cf4935fbf48d745e6f38a9793120c1a9.tar.gz
samba-53aeb7f4cf4935fbf48d745e6f38a9793120c1a9.tar.bz2
samba-53aeb7f4cf4935fbf48d745e6f38a9793120c1a9.zip
selftest: Add subunit output format.
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'");
}