mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Regression test system: Added 0.4% compare fuzzyness
To reduce differences introduced by hardware differences. [RegTest Small+Large OK]
This commit is contained in:
parent
96329793f3
commit
9582c27e97
@ -75,9 +75,9 @@ bool RiaImageFileCompare::runComparison(QString imgFileName, QString refFileName
|
|||||||
// The ImageMagick compare tool on RedHat 5 does not support the lowlight-color options
|
// The ImageMagick compare tool on RedHat 5 does not support the lowlight-color options
|
||||||
// Use GCC version as a crude mechanism for disabling use of this option on RedHat5
|
// Use GCC version as a crude mechanism for disabling use of this option on RedHat5
|
||||||
#if (__GNUC__ == 4 && __GNUC_MINOR__ <= 1)
|
#if (__GNUC__ == 4 && __GNUC_MINOR__ <= 1)
|
||||||
QString args = QString("-metric ae \"%1\" \"%2\" \"%3\"").arg(imgFileName).arg(refFileName).arg((diffFileName));
|
QString args = QString("-fuzz 0.4% -metric ae \"%1\" \"%2\" \"%3\"").arg(imgFileName).arg(refFileName).arg((diffFileName));
|
||||||
#else
|
#else
|
||||||
QString args = QString("-lowlight-color white -metric ae \"%1\" \"%2\" \"%3\"").arg(imgFileName).arg(refFileName).arg((diffFileName));
|
QString args = QString("-fuzz 0.4% -lowlight-color white -metric ae \"%1\" \"%2\" \"%3\"").arg(imgFileName).arg(refFileName).arg((diffFileName));
|
||||||
#endif
|
#endif
|
||||||
QString completeCommand = QString("\"%1\" %2").arg(m_compareExecutable).arg(args);
|
QString completeCommand = QString("\"%1\" %2").arg(m_compareExecutable).arg(args);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user