svn commit: samba r19878 - in branches/SAMBA_4_0/source/torture: .

jelmer at samba.org jelmer at samba.org
Fri Nov 24 16:08:58 GMT 2006


Author: jelmer
Date: 2006-11-24 16:08:57 +0000 (Fri, 24 Nov 2006)
New Revision: 19878

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=19878

Log:
Announce testsuites when using subunit.

Modified:
   branches/SAMBA_4_0/source/torture/smbtorture.c


Changeset:
Modified: branches/SAMBA_4_0/source/torture/smbtorture.c
===================================================================
--- branches/SAMBA_4_0/source/torture/smbtorture.c	2006-11-24 15:56:31 UTC (rev 19877)
+++ branches/SAMBA_4_0/source/torture/smbtorture.c	2006-11-24 16:08:57 UTC (rev 19878)
@@ -306,6 +306,11 @@
 	.test_result = simple_test_result
 };
 
+static void subunit_suite_start(struct torture_context *ctx,
+							   struct torture_suite *suite)
+{
+	printf("testsuite: %s\n", suite->path);
+}
 
 static void subunit_test_start (struct torture_context *ctx, 
 							    struct torture_tcase *tcase,
@@ -345,7 +350,8 @@
 const static struct torture_ui_ops subunit_ui_ops = {
 	.comment = subunit_comment,
 	.test_start = subunit_test_start,
-	.test_result = subunit_test_result
+	.test_result = subunit_test_result,
+	.suite_start = subunit_suite_start
 };
 
 static void harness_test_start (struct torture_context *ctx, 



More information about the samba-cvs mailing list