summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-03-31 02:57:47 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-03-31 02:57:47 +0200
commit31094b0e8ca73e3150de9de689f4c5c38b2e9f1f (patch)
tree5095475c46abfc5bd0ccb8c147c9e6279ba96b84 /source4
parent197c98292bd838e27da6692ba8e7984f12a66fef (diff)
downloadsamba-31094b0e8ca73e3150de9de689f4c5c38b2e9f1f.tar.gz
samba-31094b0e8ca73e3150de9de689f4c5c38b2e9f1f.tar.bz2
samba-31094b0e8ca73e3150de9de689f4c5c38b2e9f1f.zip
smbtorture: Report number of available tests in a testsuite using subunit.
Diffstat (limited to 'source4')
-rw-r--r--source4/torture/smbtorture.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/source4/torture/smbtorture.c b/source4/torture/smbtorture.c
index 53e860a144..2aa340ee36 100644
--- a/source4/torture/smbtorture.c
+++ b/source4/torture/smbtorture.c
@@ -354,12 +354,18 @@ static void simple_warning(struct torture_context *test,
fprintf(stderr, "WARNING: %s\n", comment);
}
+static void simple_progress(struct torture_context *test,
+ int offset, enum torture_progress_whence whence)
+{
+}
+
const static struct torture_ui_ops std_ui_ops = {
.comment = simple_comment,
.warning = simple_warning,
.suite_start = simple_suite_start,
.suite_finish = simple_suite_finish,
- .test_result = simple_test_result
+ .test_result = simple_test_result,
+ .progress = simple_progress,
};