mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 20:53:23 +00:00
Changed qInfo() to qDebug()
... as the former was introduced only in Qt 5.5 in order to make the test build also with 5.4 Signed-off-by: Robert C. Helling <helling@atdotde.de> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
74ecb924f4
commit
3a7109e44e
1 changed files with 4 additions and 4 deletions
|
@ -213,11 +213,11 @@ bool compareDecoTime(int actualRunTimeSeconds, int benchmarkRunTimeSeconds, int
|
|||
int totalDifferenceAllowed = 0.001 * permilDifferenceAllowed * benchmarkRunTimeSeconds + absoluteDifferenceAllowedSeconds;
|
||||
int totalDifference = abs(actualRunTimeSeconds - benchmarkRunTimeSeconds);
|
||||
|
||||
qInfo("Calculated run time = %d seconds", actualRunTimeSeconds);
|
||||
qInfo("Expected run time = %d seconds", benchmarkRunTimeSeconds);
|
||||
qInfo("Allowed time difference is %g percent plus %d seconds = %d seconds",
|
||||
qDebug("Calculated run time = %d seconds", actualRunTimeSeconds);
|
||||
qDebug("Expected run time = %d seconds", benchmarkRunTimeSeconds);
|
||||
qDebug("Allowed time difference is %g percent plus %d seconds = %d seconds",
|
||||
permilDifferenceAllowed * 0.1, absoluteDifferenceAllowedSeconds, totalDifferenceAllowed);
|
||||
qInfo("total difference = %d seconds", totalDifference);
|
||||
qDebug("total difference = %d seconds", totalDifference);
|
||||
|
||||
result = (totalDifference <= totalDifferenceAllowed);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue