summaryrefslogtreecommitdiff
path: root/test/tinytest.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2009-01-31 07:32:00 +0000
committerNick Mathewson <nickm@torproject.org>2009-01-31 07:32:00 +0000
commite6ba208ba30fd22f52508a865f448c24ffaaed96 (patch)
treeaba084e7c4c3d456661dfda9169eb96497446ae5 /test/tinytest.h
parent52eb4951302554dd696d6a0120ad5d3f6cffb7bb (diff)
downloadlibevent-e6ba208ba30fd22f52508a865f448c24ffaaed96.tar.gz
Tinytest update: mostly just to allow test skipping.
svn:r1080
Diffstat (limited to 'test/tinytest.h')
-rw-r--r--test/tinytest.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/tinytest.h b/test/tinytest.h
index f14acc82..a0cb9131 100644
--- a/test/tinytest.h
+++ b/test/tinytest.h
@@ -66,6 +66,8 @@ struct testgroup_t {
/** Implementation: called from a test to indicate failure, before logging. */
void _tinytest_set_test_failed(void);
+/** Implementation: called from a test to indicate that we're skipping. */
+void _tinytest_set_test_skipped(void);
/** Implementation: return 0 for quiet, 1 for normal, 2 for loud. */
int _tinytest_get_verbosity(void);
/** Implementation: Set a flag on tests matching a name; returns number