// basictest.cpp : Sets the entry point for the console application. // #include #include #include #ifndef _WIN32 #include #endif #include "../common/core.h" #include "test_thread.hpp" #include "test_spinlock.hpp" using namespace ra::unit_tests; int do_init( int, char** ) { test_thread_creation_and_wait(); test_thread_spinlock(); return 0; } //just some empty function to comply link void do_abort(void) {} void do_final(void) {} void set_server_type(void) {} //tmp tp avoid link issue in cmake #if defined(CMAKE) #ifdef __cplusplus extern "C" { #endif void Sql_Init(void) {} #ifdef __cplusplus } #endif #endif