mirror of
https://github.com/MariaDB/server.git
synced 2025-08-30 11:22:14 +03:00
unittest/examples/no_plan.t.c: Ensure that the "configure" result is used when compiling this module. unittest/examples/skip_all.t.c: Ensure that the configure result is used when compiling this module. unittest/examples/todo.t.c: Ensure that the configure result is used when compiling this module. unittest/mytap/t/basic.t.c: Ensure that the configure result is used when compiling this module.
20 lines
324 B
C
20 lines
324 B
C
|
|
#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();
|
|
}
|