diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2006-11-24 16:08:57 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:28:30 -0500 |
commit | f00d4a5e9253cccea3582bca87c1bdf7849573d8 (patch) | |
tree | 0156b0bc2be2253a305c45d065f2493cfbbccc03 | |
parent | 4a127c679dd117a8297e69d9441dc1ff14cc4b6c (diff) | |
download | samba-f00d4a5e9253cccea3582bca87c1bdf7849573d8.tar.gz samba-f00d4a5e9253cccea3582bca87c1bdf7849573d8.tar.bz2 samba-f00d4a5e9253cccea3582bca87c1bdf7849573d8.zip |
r19878: Announce testsuites when using subunit.
(This used to be commit daaa0216456bf76116985451c87e5252c70f0dec)
-rw-r--r-- | source4/torture/smbtorture.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/source4/torture/smbtorture.c b/source4/torture/smbtorture.c index 55d415a518..b06fb19f3d 100644 --- a/source4/torture/smbtorture.c +++ b/source4/torture/smbtorture.c @@ -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, |