Fix to bug 579: http://bugs.mariadb.com/show_bug.cgi?id=579
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.
This commit is contained in:
@ -1,9 +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
|
||||
#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