summaryrefslogtreecommitdiff
path: root/unittest/mytap/t/basic-t.c
blob: 16928509e8cea5ffc626db8b918705ee11bcf59e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

#include "my_config.h"

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

int main() {
  plan(5);
  ok(1 == 1, "testing basic functions");
  ok(2 == 2, " ");
  ok(3 == 3, NULL);
  if (1 == 1)
    skip(2, "Sensa fragoli");
  else {
    ok(1 == 2, "Should not be run at all");
    ok(1, "This one neither");
  }
  return exit_status();
}