wanglongqi / pdf2djvu

Automatically exported from code.google.com/p/pdf2djvu
0 stars 2 forks source link

Test suite fails if not linking with GraphicsMagick #55

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
This isn't a report, more a question.

I compile pdf2djvu for SLE without libGraphicsMagick++ (missing in repository).

Make test failed at
+ _test_pdf2djvu -o test-fg-colors-1.djvu --fg-colors=1
+ ../pdf2djvu -q test-fg-colors-1.pdf -o test-fg-colors-1.djvu --fg-colors=1
make[1]: *** [test-fg-colors-1.stamp] Error 1

All packages for openSUSE are compiled with libGraphicsMagick++ and tests run 
succesfully.

Is this normal?

Original issue reported on code.google.com by lazy.ken...@gmail.com on 21 Jan 2011 at 11:07

GoogleCodeExporter commented 9 years ago
It is expected. At least test-fg-colors-1 and test-fg-colors-2 fails if 
pdf2djvu is not linked with GraphicsMagick.

Perhaps I should make the test suite a little bit smarter. :)

Original comment by jwilk@jwilk.net on 21 Jan 2011 at 12:02

GoogleCodeExporter commented 9 years ago
In pdf2djvu 0.7.10 you should be able to easily skip tests requiring 
GraphicsMagick. Just run:

    make skip='*+gm'

in the tests/ subdirectory.

Original comment by jwilk@jwilk.net on 20 Aug 2011 at 8:07

GoogleCodeExporter commented 9 years ago
I committed changes to automatically skip tests requiring GraphicsMagick 
(rc43028164c57) and GNOME XSLT (r1ede34d37e64) when the feature was not enabled 
at build time.
These changes will be included in the upcoming 0.7.20 release.

Original comment by jwilk@jwilk.net on 3 Mar 2015 at 8:43