Skip to content

Commit

Permalink
Disabled testing for DiskCacheImageView when no tiff library is avail…
Browse files Browse the repository at this point in the history
…able.
  • Loading branch information
broxtronix committed Jan 5, 2009
1 parent cd7cc23 commit 8f7fed0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vw/FileIO/tests/TestDiskImageView.h
Expand Up @@ -38,7 +38,7 @@ class TestDiskImageView : public CxxTest::TestSuite
public:

void test_disk_cache_image_view() {
#if defined(VW_HAVE_PKG_PNG) && VW_HAVE_PKG_PNG==1
#if defined(VW_HAVE_PKG_PNG) && VW_HAVE_PKG_PNG==1 &&((defined(VW_HAVE_PKG_GDAL) && VW_HAVE_PKG_GDAL==1) || (defined(VW_HAVE_PKG_TIFF) && VW_HAVE_PKG_TIFF==1))
ImageView<PixelRGB<uint8> > orig_image;
TS_ASSERT_THROWS_NOTHING( read_image( orig_image, "rgb2x2.png" ) );

Expand Down

0 comments on commit 8f7fed0

Please sign in to comment.