]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-11781 [test] separate basedirs for tests to allow parallel build
authorChris Rienzo <chris@signalwire.com>
Sun, 21 Apr 2019 16:43:26 +0000 (16:43 +0000)
committerAndrey Volk <andywolk@gmail.com>
Tue, 9 Jul 2019 15:27:22 +0000 (19:27 +0400)
src/include/test/switch_test.h

index 3ac6f1c635c8e3680474a2852a0c53b1b7d39898..feb2788e57355e480c236dce5e0ade3dbfa1698b 100644 (file)
@@ -281,7 +281,7 @@ static switch_status_t fst_init_core_and_modload(const char *confdir, const char
                switch_timer_t fst_timer = { 0 }; \
                switch_memory_pool_t *fst_pool = NULL; \
                fst_getenv_default("FST_SUPPRESS_UNUSED_STATIC_WARNING", NULL, SWITCH_FALSE); \
-               if (fst_init_core_and_modload(confdir, NULL, 0) == SWITCH_STATUS_SUCCESS) { \
+               if (fst_init_core_and_modload(confdir, confdir, 0) == SWITCH_STATUS_SUCCESS) { \
                        fst_core = 2; \
                } else { \
                        fprintf(stderr, "Failed to load FS core\n"); \