summaryrefslogtreecommitdiff
path: root/src/libstrongswan/tests/tests.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstrongswan/tests/tests.c')
-rw-r--r--src/libstrongswan/tests/tests.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstrongswan/tests/tests.c b/src/libstrongswan/tests/tests.c
index d95ddd9d5..aed600fbc 100644
--- a/src/libstrongswan/tests/tests.c
+++ b/src/libstrongswan/tests/tests.c
@@ -37,7 +37,8 @@ static bool test_runner_init(bool init)
{
char *plugins, *plugindir;
- plugins = lib->settings->get_str(lib->settings,
+ plugins = getenv("TESTS_PLUGINS") ?:
+ lib->settings->get_str(lib->settings,
"tests.load", PLUGINS);
plugindir = lib->settings->get_str(lib->settings,
"tests.plugindir", PLUGINDIR);