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:
Johan Wikman 2018-12-11 15:32:19 +02:00
parent 1ad4b339dc
commit c7d5794953

View File

@ -425,6 +425,7 @@ int main(int argc, char* argv[])
if (rv == 0)
{
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);
rv = run();