<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Sprechblasentext Zchn";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
span.E-MailFormatvorlage17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.SprechblasentextZchn
        {mso-style-name:"Sprechblasentext Zchn";
        mso-style-priority:99;
        mso-style-link:Sprechblasentext;
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:1161583402;
        mso-list-type:hybrid;
        mso-list-template-ids:2118944692 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level5
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level8
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Hello,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I have built qgis 1.8 final release from source  on Centos6.  When I run make check, I get failures in qgis_rasterlayertest and qgis_rendererstest.  These failures are the result of raster anomalies that do not match the expected raster anomalies stored in testdata.  Attached are the raster anomalies, which in many cases are similar too (but a bit worse than) the expected windows anomalies.  The anomalies are as follows:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Continuous_result_diff.png<o:p></o:p></p><p class=MsoNormal>Graduated_result_diff.png<o:p></o:p></p><p class=MsoNormal>Landsat_875_result_diff.png<o:p></o:p></p><p class=MsoNormal>Landsat_basic_result_diff.png<o:p></o:p></p><p class=MsoNormal>Raster_pseudo_result_diff.png<o:p></o:p></p><p class=MsoNormal>Raster_result_diff.png<o:p></o:p></p><p class=MsoNormal>Single_result_diff.png<o:p></o:p></p><p class=MsoNormal>Uniquevalue_result_diff.png<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I added these raster anomalies to tests/testdata/control_images/[test case], and that did eliminate the unittest failures as a result of anomalies not matching any expected anomalies.  However, my unittests still fail after the anomaly match as a result of bandStatistics<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>QDEBUG : TestQgsRasterLayer::landsatBasic875Qml() Expected size: 120w x 120h<o:p></o:p></p><p class=MsoNormal>QDEBUG : TestQgsRasterLayer::landsatBasic875Qml() Actual   size: 120w x 120h<o:p></o:p></p><p class=MsoNormal>QDEBUG : TestQgsRasterLayer::landsatBasic875Qml() 9482/14400 pixels mismatched<o:p></o:p></p><p class=MsoNormal>QDEBUG : TestQgsRasterLayer::landsatBasic875Qml() "<DartMeasurement name="Mismatch Count " type="numeric/integer">9482/14400</DartMeasurement>" <o:p></o:p></p><p class=MsoNormal>QDEBUG : TestQgsRasterLayer::landsatBasic875Qml() "<DartMeasurement name="Anomoly check" type="text/text">Checking if anomaly centos_landsat875_anomaly.png (hash fd5a62c1938dbadc2652e22c587c81e5) matches /tmp//landsat_875_result_diff.png (hash fd5a62c1938dbadc2652e22c587c81e5)</DartMeasurement>" <o:p></o:p></p><p class=MsoNormal>PASS   : TestQgsRasterLayer::landsatBasic875Qml()<o:p></o:p></p><p class=MsoNormal>PASS   : TestQgsRasterLayer::checkDimensions()<o:p></o:p></p><p class=MsoNormal>FAIL!  : TestQgsRasterLayer::checkStats() 'mpRasterLayer->bandStatistics( 1 ).mean == 4.5' returned FALSE. ()<o:p></o:p></p><p class=MsoNormal>   Loc: [/pse/edv/hil/src/qgis/18release/qgis-1.8.0/tests/src/core/testqgsrasterlayer.cpp(177)]<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>When I ran qgis_rasterlayertest through gdb,  this mean value was found to be 4.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Qgis is linking yum installed libpng 1.2.49.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoListParagraph style='text-indent:-18.0pt;mso-list:l0 level1 lfo1'><![if !supportLists]><span style='mso-list:Ignore'>1.<span style='font:7.0pt "Times New Roman"'>       </span></span><![endif]>Are the anomalies a feature of the system, and just need to be added to testdata, or are they manifestations of a bug?  <o:p></o:p></p><p class=MsoListParagraph style='text-indent:-18.0pt;mso-list:l0 level1 lfo1'><![if !supportLists]><span style='mso-list:Ignore'>2.<span style='font:7.0pt "Times New Roman"'>       </span></span><![endif]>What can I do about the bandStatistics error? Is this going to cause bad behavior in qgis, or is only going to effect image quality?<o:p></o:p></p><p class=MsoListParagraph style='text-indent:-18.0pt;mso-list:l0 level1 lfo1'><![if !supportLists]><span style='mso-list:Ignore'>3.<span style='font:7.0pt "Times New Roman"'>       </span></span><![endif]>Might this be coming from a library dependency?<o:p></o:p></p><p class=MsoListParagraph><o:p> </o:p></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'>Thanks,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'>MonsterMushroom<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=DE style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'><o:p> </o:p></span></p></div></body></html>