mirror of
https://github.com/MariaDB/server.git
synced 2025-02-02 12:01:42 +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
19 lines
327 B
C
19 lines
327 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();
|
|
}
|