diff options
Diffstat (limited to 'unittest/mytap/t/basic-t.c')
-rw-r--r-- | unittest/mytap/t/basic-t.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/unittest/mytap/t/basic-t.c b/unittest/mytap/t/basic-t.c new file mode 100644 index 00000000000..bf4c1a9a664 --- /dev/null +++ b/unittest/mytap/t/basic-t.c @@ -0,0 +1,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(); +} |