SKIP_BLOCK_IF
can be used to skip a predetermined number of tests. Observe that the macro actually skips the following statement, but it's not sensible to use anything than a block.
00001 00002 #include <tap.h> 00003 #include <stdlib.h> 00004 00005 int main() { 00006 plan(4); 00007 ok(1, NULL); 00008 ok(1, NULL); 00009 SKIP_BLOCK_IF(1, 2, "Example of skipping a few test points in a test") { 00010 ok(1, NULL); 00011 ok(1, NULL); 00012 } 00013 return exit_status(); 00014 }