mirror of
https://github.com/MariaDB/server.git
synced 2025-01-23 15:24:16 +01:00
5409997d49
rename *.t* to *-t* to be automake-friendly simplify Makefiles test_atomic.c: move to unittest, add GPL comment, fix warnings, convert to tap framework. configure: remove custom tests for available types, use AC_CHECK_TYPE instead x86-gcc.h: fix gcc -ansi errors while maintaining readability ignore: added *-t
21 lines
514 B
C
21 lines
514 B
C
|
|
#include "my_config.h"
|
|
|
|
#include <stdlib.h>
|
|
#include <tap.h>
|
|
|
|
/*
|
|
Sometimes, the number of tests is not known beforehand. In those
|
|
cases, the plan can be omitted and will instead be written at the
|
|
end of the test (inside exit_status()).
|
|
|
|
Use this sparingly, it is a last resort: planning how many tests you
|
|
are going to run will help you catch that offending case when some
|
|
tests are skipped for an unknown reason.
|
|
*/
|
|
int main() {
|
|
ok(1, NULL);
|
|
ok(1, NULL);
|
|
ok(1, NULL);
|
|
return exit_status();
|
|
}
|