From 81124d68848d689b0aedc4bba703edd222a92a45 Mon Sep 17 00:00:00 2001 From: "Robert C. Helling" Date: Mon, 31 Aug 2015 22:12:36 +0200 Subject: [PATCH 1/5] 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 --- tests/testplan.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/testplan.cpp b/tests/testplan.cpp index a7ec2dc..5cc1492 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); } -- 1.9.5 (Apple Git-50.3)