1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

r19878: Announce testsuites when using subunit.

(This used to be commit daaa021645)
This commit is contained in:
Jelmer Vernooij 2006-11-24 16:08:57 +00:00 committed by Gerald (Jerry) Carter
parent 4a127c679d
commit f00d4a5e92

View File

@ -306,6 +306,11 @@ const static struct torture_ui_ops std_ui_ops = {
.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 @@ static void subunit_comment (struct torture_context *test,
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,