summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGravatar Robert C. Helling <helling@atdotde.de>2015-08-31 22:12:36 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-08-31 15:13:43 -0700
commit3a7109e44ef49fb654af3d04d0b9a132c30eb34b (patch)
treeae9fb46a8f09c46a11168c45ebe218641693ea1a /tests
parent74ecb924f4831d93d5287db8ea034c5d593c35e9 (diff)
downloadsubsurface-3a7109e44ef49fb654af3d04d0b9a132c30eb34b.tar.gz
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>
Diffstat (limited to 'tests')
-rw-r--r--tests/testplan.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/testplan.cpp b/tests/testplan.cpp
index a7ec2dc33..5cc149228 100644
--- a/tests/testplan.cpp
+++ b/tests/testplan.cpp
@@ -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);
}