From 9a99b745c02f629b2e7fdf22be40e24a2e2d2569 Mon Sep 17 00:00:00 2001 From: Martin Willi Date: Tue, 23 Nov 2010 10:58:39 +0100 Subject: [PATCH] Preload plugins configured in tests --- src/conftest/conftest.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/conftest/conftest.c b/src/conftest/conftest.c index f18ad7e84..304cacf02 100644 --- a/src/conftest/conftest.c +++ b/src/conftest/conftest.c @@ -384,6 +384,11 @@ int main(int argc, char *argv[]) { return 1; } + if (!lib->plugins->load(lib->plugins, NULL, + conftest->test->get_str(conftest->test, "preload", ""))) + { + return 1; + } if (!charon->initialize(charon)) { return 1;