From 8a6e88dfeca8c19355c55451fdc5cf2c798a1a82 Mon Sep 17 00:00:00 2001 From: Etienne Tourigny Date: Tue, 29 May 2012 22:14:15 -0300 Subject: [PATCH] skip vrt-in-zip test for gdal<1.7 --- tests/src/core/testziplayer.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/src/core/testziplayer.cpp b/tests/src/core/testziplayer.cpp index 1f58494c081e..79052aed4d48 100644 --- a/tests/src/core/testziplayer.cpp +++ b/tests/src/core/testziplayer.cpp @@ -283,7 +283,7 @@ void TestZipLayer::testPassthruVectorGzip() { QSettings settings; #if GDAL_VERSION_NUM < 1700 - QSKIP( "This test requires GDAL > 1.7", SkipSingle ); + QSKIP( "This test requires GDAL >= 1.7", SkipSingle ); #endif for ( int i = 1 ; i <= mMaxScanZipSetting ; i++ ) { @@ -406,6 +406,9 @@ void TestZipLayer::testZipItemSubfolder() void TestZipLayer::testZipItemVRT() { +#if GDAL_VERSION_NUM < 1700 + QSKIP( "This test requires GDAL > 1.7", SkipSingle ); +#endif QSettings settings; for ( int i = 2 ; i <= mMaxScanZipSetting ; i++ ) {