summaryrefslogtreecommitdiff
path: root/source4/torture/ui.h
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-10-17 22:06:43 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:21:22 -0500
commit4517b7af0e867d7244d8fcb9af72358f3559660f (patch)
tree957f32d0005462ac6d6438e113c31c665de36333 /source4/torture/ui.h
parentc7090e666981eba30eb0553486bf782142e65a89 (diff)
downloadsamba-4517b7af0e867d7244d8fcb9af72358f3559660f.tar.gz
samba-4517b7af0e867d7244d8fcb9af72358f3559660f.tar.bz2
samba-4517b7af0e867d7244d8fcb9af72358f3559660f.zip
r19381: Print out the specific tests that failed after a smbtorture run.
Support listing known failures as a list of wildcards in the file `KNOWN_FAILURES'. (This used to be commit 23f66efd564d1ad549fc0cd60348f54808f5cafa)
Diffstat (limited to 'source4/torture/ui.h')
-rw-r--r--source4/torture/ui.h19
1 files changed, 14 insertions, 5 deletions
diff --git a/source4/torture/ui.h b/source4/torture/ui.h
index f0628b7758..23988d9bf4 100644
--- a/source4/torture/ui.h
+++ b/source4/torture/ui.h
@@ -75,14 +75,23 @@ struct torture_context
const struct torture_ui_ops *ui_ops;
void *ui_data;
+ char *active_testname;
struct torture_test *active_test;
struct torture_tcase *active_tcase;
- int skipped;
- int todo;
- int success;
- int failed;
- int errors;
+ char **expected_failures;
+
+ struct torture_results {
+ int skipped;
+ int todo;
+ int success;
+ int failed;
+ int errors;
+
+ const char **unexpected_failures;
+ const char **unexpected_successes;
+ const char **unexpected_errors;
+ } results;
bool quiet; /* Whether tests should avoid writing output to stdout */