From 7d7ac62f67216ada9bb9a05ae651318ba05fe175 Mon Sep 17 00:00:00 2001 From: Matthias Kuhn Date: Tue, 18 Nov 2014 11:08:28 +0100 Subject: [PATCH] Add tolerance to shapeburst test Fixes it on ubuntu trusty --- tests/src/core/testqgsshapeburst.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/src/core/testqgsshapeburst.cpp b/tests/src/core/testqgsshapeburst.cpp index 62b312742e3..de595fc86ba 100644 --- a/tests/src/core/testqgsshapeburst.cpp +++ b/tests/src/core/testqgsshapeburst.cpp @@ -237,7 +237,7 @@ bool TestQgsShapeburst::imageCheck( QString theTestType ) myChecker.setControlName( "expected_" + theTestType ); myChecker.setMapSettings( mMapSettings ); myChecker.setColorTolerance( 20 ); - bool myResultFlag = myChecker.runTest( theTestType ); + bool myResultFlag = myChecker.runTest( theTestType, 500 ); mReport += myChecker.report(); return myResultFlag; }