diff -r 5dc02b23752f -r 3e2da88830cd src/testlib/qbenchmark.cpp --- a/src/testlib/qbenchmark.cpp Tue Jul 06 15:10:48 2010 +0300 +++ b/src/testlib/qbenchmark.cpp Wed Aug 18 10:37:55 2010 +0300 @@ -159,7 +159,7 @@ if (QBenchmarkGlobalData::current->iterationCount != -1) accepted = true; - if (QBenchmarkTestMethodData::current->runOnce || !setByMacro) { + else if (QBenchmarkTestMethodData::current->runOnce || !setByMacro) { iterationCount = 1; accepted = true; }