summaryrefslogtreecommitdiff
path: root/unittest/examples/skip.t.c
blob: ef7176917002b3283222a5d1a47933f63fa1fb5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14

#include <tap.h>
#include <stdlib.h>

int main() {
  plan(4);
  ok(1, NULL);
  ok(1, NULL);
  SKIP_BLOCK_IF(1, 2, "Example of skipping a few test points in a test") {
    ok(1, NULL);
    ok(1, NULL);
  }
  return exit_status();
}