libextractor

GNU libextractor
Log | Files | Refs | Submodules | README | LICENSE

commit 49708e2929bb9a3c532eaa07e044a259698d30e8
parent a29d4ffcea6175a61d3715627e48ca9eacd591e4
Author: Heikki Lindholm <holin@iki.fi>
Date:   Mon, 23 Jun 2008 10:16:56 +0000

avoid duplicate symbols


Diffstat:
Msrc/test/mt_plugintest2.c | 21+++++++++++++++------
1 file changed, 15 insertions(+), 6 deletions(-)

diff --git a/src/test/mt_plugintest2.c b/src/test/mt_plugintest2.c @@ -25,16 +25,25 @@ test_plugins (void *arg) while (!done) { - /* do some load/unload tests */ el = EXTRACTOR_addLibrary (NULL, "libextractor_thumbnailgtk"); - el = EXTRACTOR_addLibrary (el, "libextractor_thumbnailqt"); - el = EXTRACTOR_addLibrary (el, "libextractor_thumbnailffmpeg"); - el = EXTRACTOR_removeLibrary (el, "libextractor_thumbnailffmpeg"); - el = EXTRACTOR_removeLibrary (el, "libextractor_thumbnailqt"); el = EXTRACTOR_removeLibrary (el, "libextractor_thumbnailgtk"); if (el != NULL) { - printf ("add-remove test failed in thread %d!\n", td->id); + printf ("add-remove test failed (gtk) in thread %d!\n", td->id); + failed = 1; + } + el = EXTRACTOR_addLibrary (NULL, "libextractor_thumbnailqt"); + el = EXTRACTOR_removeLibrary (el, "libextractor_thumbnailqt"); + if (el != NULL) + { + printf ("add-remove test failed (qt) in thread %d!\n", td->id); + failed = 1; + } + el = EXTRACTOR_addLibrary (NULL, "libextractor_thumbnailffmpeg"); + el = EXTRACTOR_removeLibrary (el, "libextractor_thumbnailffmpeg"); + if (el != NULL) + { + printf ("add-remove test failed (ffmpeg) in thread %d!\n", td->id); failed = 1; } }