Skip to content

Commit

Permalink
Disable a test which relies on proj 4 behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Feb 20, 2020
1 parent 6a0266c commit 4ab9f17
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/src/analysis/testqgsalignraster.cpp
Expand Up @@ -237,6 +237,7 @@ class TestAlignRaster : public QObject

void testInvalidReprojection()
{
#if PROJ_VERSION_MAJOR<6 // the projection works on proj 6 builds
QString tmpFile( _tempFile( QStringLiteral( "reproject-invalid" ) ) );

// reprojection to British National Grid with raster in Jakarta area clearly cannot work
Expand All @@ -250,6 +251,7 @@ class TestAlignRaster : public QObject
align.setParametersFromRaster( SRC_FILE, destCRS.toWkt( QgsCoordinateReferenceSystem::WKT2_2018 ) );
bool res = align.run();
QVERIFY( !res );
#endif
}

void testSuggestedReferenceLayer()
Expand Down

0 comments on commit 4ab9f17

Please sign in to comment.