test/run_input: initialize archive plugins
Enable archive plugin debugging.
This commit is contained in:
parent
f01d7d230b
commit
83aac2a057
@ -17,11 +17,16 @@
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "input_stream.h"
|
||||
#include "tag_pool.h"
|
||||
#include "tag_save.h"
|
||||
#include "conf.h"
|
||||
|
||||
#ifdef ENABLE_ARCHIVE
|
||||
#include "archive_list.h"
|
||||
#endif
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
#include <unistd.h>
|
||||
@ -58,6 +63,11 @@ int main(int argc, char **argv)
|
||||
|
||||
tag_pool_init();
|
||||
config_global_init();
|
||||
|
||||
#ifdef ENABLE_ARCHIVE
|
||||
archive_plugin_init_all();
|
||||
#endif
|
||||
|
||||
input_stream_global_init();
|
||||
|
||||
/* open the stream and wait until it becomes ready */
|
||||
@ -107,6 +117,11 @@ int main(int argc, char **argv)
|
||||
|
||||
input_stream_close(&is);
|
||||
input_stream_global_finish();
|
||||
|
||||
#ifdef ENABLE_ARCHIVE
|
||||
archive_plugin_deinit_all();
|
||||
#endif
|
||||
|
||||
config_global_finish();
|
||||
tag_pool_deinit();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user