unit-tests: load all libstrongswan plugins in test-runner

This commit is contained in:
Martin Willi
2013-06-21 10:53:20 +02:00
parent 8c88ca0fcf
commit 3714979427
2 changed files with 7 additions and 0 deletions
+6
View File
@@ -32,6 +32,12 @@ int main()
library_init(NULL);
if (!lib->plugins->load(lib->plugins, NULL, PLUGINS))
{
library_deinit();
return EXIT_FAILURE;
}
sr = srunner_create(NULL);
srunner_add_suite(sr, bio_reader_suite_create());
srunner_add_suite(sr, bio_writer_suite_create());