summaryrefslogtreecommitdiff
path: root/c/include
diff options
context:
space:
mode:
authorRobert Collins <robertc@robertcollins.net>2009-10-03 08:26:44 +1000
committerRobert Collins <robertc@robertcollins.net>2009-10-03 08:26:44 +1000
commit9e4100b7e256d536a866869c5c15c8473ebbab69 (patch)
tree5b56ae8a60a875d5712ca659966c43531a13cb87 /c/include
parenta0fece2a82603e4cc7037313795b08e937e8a758 (diff)
downloadsubunit-git-9e4100b7e256d536a866869c5c15c8473ebbab69.tar.gz
Add skip support to the C client.
Diffstat (limited to 'c/include')
-rw-r--r--c/include/subunit/child.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/c/include/subunit/child.h b/c/include/subunit/child.h
index 7fab7b5..0a4e601 100644
--- a/c/include/subunit/child.h
+++ b/c/include/subunit/child.h
@@ -62,6 +62,18 @@ extern void subunit_test_error(char const * const name,
char const * const error);
+/**
+ * subunit_test_skip:
+ *
+ * Report that a test has been skipped. An skip is a test that has not run to
+ * conclusion but hasn't given an error either - its result is unknown.
+ * @name: test case name
+ * @reason: a string describing the reason for the skip.
+ */
+extern void subunit_test_skip(char const * const name,
+ char const * const reason);
+
+
#ifdef __cplusplus
}
#endif