Load storage library from build location during test
Without this change, the storage library is not found unless MaxScale has been installed.
This commit is contained in:
@ -425,6 +425,7 @@ int main(int argc, char* argv[])
|
|||||||
if (rv == 0)
|
if (rv == 0)
|
||||||
{
|
{
|
||||||
init_test_env(nullptr, QC_INIT_SELF);
|
init_test_env(nullptr, QC_INIT_SELF);
|
||||||
|
set_libdir(MXS_STRDUP(TEST_DIR "/server/modules/filter/cache/storage/storage_inmemory"));
|
||||||
preload_module("cache", "server/modules/filter/cache/", MODULE_FILTER);
|
preload_module("cache", "server/modules/filter/cache/", MODULE_FILTER);
|
||||||
|
|
||||||
rv = run();
|
rv = run();
|
||||||
|
Reference in New Issue
Block a user