Added the missing skygw_log_sync_all function to the log_manager.h header and created a header for testing which contains the location of the testing directory.
This commit is contained in:
@ -51,7 +51,7 @@ int result;
|
||||
"testpoll : Initialise the polling system.");
|
||||
poll_init();
|
||||
ss_dfprintf(stderr, "\t..done\nAdd a DCB");
|
||||
dcb = dcb_alloc(DCB_ROLE_SERVICE_LISTENER);
|
||||
dcb = dcb_alloc(DCB_ROLE_REQUEST_HANDLER);
|
||||
|
||||
if(dcb == NULL){
|
||||
ss_dfprintf(stderr, "\nError on function call: dcb_alloc() returned NULL.\n");
|
||||
|
9
server/test/maxscale_test.h.in
Normal file
9
server/test/maxscale_test.h.in
Normal file
@ -0,0 +1,9 @@
|
||||
#ifndef MAXSCALE_TEST_H
|
||||
#define MAXSCALE_TEST_H
|
||||
#define TEST_DIR ${CMAKE_BINARY_DIR}
|
||||
#define TEST_LOG_DIR ${CMAKE_BINARY_DIR}/log
|
||||
#define TEST_BIN_DIR ${CMAKE_BINARY_DIR}/bin
|
||||
#define TEST_MOD_DIR ${CMAKE_BINARY_DIR}/modules
|
||||
#define TEST_LIB_DIR ${CMAKE_BINARY_DIR}/lib
|
||||
#define TEST_ETC_DIR ${CMAKE_BINARY_DIR}/etc
|
||||
#endif
|
Reference in New Issue
Block a user