From: Martin Willi Date: Tue, 23 Nov 2010 09:58:39 +0000 (+0100) Subject: Preload plugins configured in tests X-Git-Tag: 4.5.1~264 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a99b745c02f629b2e7fdf22be40e24a2e2d2569;p=thirdparty%2Fstrongswan.git Preload plugins configured in tests --- diff --git a/src/conftest/conftest.c b/src/conftest/conftest.c index f18ad7e84b..304cacf02d 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;