projects
/
ccan
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tap: add fail callback
[ccan]
/
ccan
/
tap
/
tap.h
diff --git
a/ccan/tap/tap.h
b/ccan/tap/tap.h
index 395d245d284a55dab9b8df064d9d58dddda8d363..6a4c5e0520f683ff3e217644cb0d69b4e076ac62 100644
(file)
--- a/
ccan/tap/tap.h
+++ b/
ccan/tap/tap.h
@@
-243,4
+243,11
@@
void plan_no_plan(void);
*/
void plan_skip_all(const char *reason);
+/**
+ * tap_fail_callback - function to call when we fail
+ *
+ * This can be used to ease debugging, or exit on the first failure.
+ */
+void (*tap_fail_callback)(void);
+
#endif /* C99 or gcc */