fixup webp test
This commit is contained in:
parent
c2e94c68a5
commit
d5e4197aa2
1 changed files with 1 additions and 6 deletions
|
@ -1,16 +1,12 @@
|
||||||
|
|
||||||
#if defined(HAVE_TIFF)
|
#if defined(HAVE_WEBP)
|
||||||
|
|
||||||
#include "catch.hpp"
|
#include "catch.hpp"
|
||||||
|
|
||||||
#include <mapnik/image_reader.hpp>
|
|
||||||
#include <mapnik/image_util.hpp>
|
#include <mapnik/image_util.hpp>
|
||||||
#include <mapnik/util/file_io.hpp>
|
|
||||||
#include <mapnik/image_view_any.hpp>
|
#include <mapnik/image_view_any.hpp>
|
||||||
|
|
||||||
#include <mapnik/webp_io.hpp>
|
#include <mapnik/webp_io.hpp>
|
||||||
|
|
||||||
|
|
||||||
TEST_CASE("webp io") {
|
TEST_CASE("webp io") {
|
||||||
|
|
||||||
SECTION("does not crash accessing view") {
|
SECTION("does not crash accessing view") {
|
||||||
|
@ -25,7 +21,6 @@ SECTION("does not crash accessing view") {
|
||||||
save_as_webp(s,view,config,true);
|
save_as_webp(s,view,config,true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue