diff options
Diffstat (limited to 'test/run_input.cxx')
-rw-r--r-- | test/run_input.cxx | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/test/run_input.cxx b/test/run_input.cxx index 8fdf6f81a..c58316ba5 100644 --- a/test/run_input.cxx +++ b/test/run_input.cxx @@ -106,6 +106,10 @@ class GlobalInit { ConfigData config; EventThread io_thread; +#ifdef ENABLE_ARCHIVE + const ScopeArchivePluginsInit archive_plugins_init; +#endif + public: GlobalInit(Path config_path, bool verbose) { SetLogThreshold(verbose ? LogLevel::DEBUG : LogLevel::INFO); @@ -117,18 +121,12 @@ public: io_thread.Start(); -#ifdef ENABLE_ARCHIVE - archive_plugin_init_all(); -#endif input_stream_global_init(config, io_thread.GetEventLoop()); } ~GlobalInit() { input_stream_global_finish(); -#ifdef ENABLE_ARCHIVE - archive_plugin_deinit_all(); -#endif } }; |