diff options
author | Paul "LeoNerd" Evans <leonerd@leonerd.org.uk> | 2020-05-20 00:03:35 +0100 |
---|---|---|
committer | Paul "LeoNerd" Evans <leonerd@leonerd.org.uk> | 2020-05-20 00:03:35 +0100 |
commit | c70bc40d3e7dd2b8ae987f34c40134d633af7bd1 (patch) | |
tree | 0643d6382035b7140f3c537ccdb2b558a742154b /t | |
parent | 4ca623a9318da5c7cd683ddf929a4da6b2b4957e (diff) |
Add skip() to t/taplib.[hc]
Diffstat (limited to 't')
-rw-r--r-- | t/taplib.c | 5 | ||||
-rw-r--r-- | t/taplib.h | 1 |
2 files changed, 6 insertions, 0 deletions
@@ -32,6 +32,11 @@ void fail(char *name) _exit_status = 1; } +void skip(char *reason) +{ + printf("ok %d # %s\n", nexttest++, reason); +} + void ok(int cmp, char *name) { if(cmp) @@ -3,6 +3,7 @@ void skip_all(char *reason); void ok(int cmp, char *name); void pass(char *name); void fail(char *name); +void skip(char *reason); void diag(char *fmt, ...); void is_int(int got, int expect, char *name); void is_ptr(void *got, void *expect, char *name); |