mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-15 00:04:00 -04:00
Allow some mismatched pixels in inverted renderer test
On my machine, there were ~200-800 mismatched pixels in each test image, but visually they look the same.
This commit is contained in:
parent
3fe12df507
commit
ec310a0e94
@ -173,7 +173,7 @@ bool TestQgsInvertedPolygon::imageCheck( QString theTestType, const QgsRectangle
|
||||
QgsRenderChecker myChecker;
|
||||
myChecker.setControlName( "expected_" + theTestType );
|
||||
myChecker.setMapSettings( mMapSettings );
|
||||
bool myResultFlag = myChecker.runTest( theTestType );
|
||||
bool myResultFlag = myChecker.runTest( theTestType, 1000 ); // allow some mismatched pixels
|
||||
mReport += myChecker.report();
|
||||
return myResultFlag;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user