mirror of
https://github.com/MariaDB/server.git
synced 2025-11-06 13:10:12 +03:00
Moving mytap library into unittest/ Adding 'test' target to make and run unit tests. Minor fixes. unittest/mytap/Doxyfile: mvdir unittest/mytap/t/basic.t.c: mvdir unittest/mytap/tap.c: mvdir unittest/mytap/tap.h: mvdir Makefile.am: Correcting after moving mytap/ configure.in: Correcting after moving mytap/ unittest/Makefile.am: Adding 'test' target to build and execute unit tests. unittest/examples/Makefile.am: Correcting after moving mytap/ unittest/mysys/Makefile.am: Correcting after moving mytap/ unittest/mysys/bitmap.t.c: Adding copyright notice. unittest/mytap/Makefile.am: Correcting after moving mytap/ unittest/mytap/t/Makefile.am: Correcting after moving mytap/ unittest/mysys/base64.t.c: New BitKeeper file ``unittest/mysys/base64.t.c''
18 lines
300 B
C
18 lines
300 B
C
|
|
#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();
|
|
}
|