
Added a header which contains the locations for the testing directory and its subfolders which enables the test to write into the right logfiles. Also added a calls to skygw_log_sync_all before assertions forcing all logs to be written to disk at the time the test might fail.
10 lines
333 B
C
10 lines
333 B
C
#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
|