Commit 059f8cf3 authored by Christian Stenger's avatar Christian Stenger
Browse files

Remove unused variables



Change-Id: I54702e7a604c7d450a6664812fb302b9e55f9a47
Reviewed-by: default avatarNiels Weber <niels.weber@theqtcompany.com>
parent ce926564
...@@ -110,14 +110,10 @@ void performTestRun(QFutureInterface<void> &futureInterface, ...@@ -110,14 +110,10 @@ void performTestRun(QFutureInterface<void> &futureInterface,
const QString metricsOption, TestRunner* testRunner) const QString metricsOption, TestRunner* testRunner)
{ {
int testCaseCount = 0; int testCaseCount = 0;
bool hasQtTests = false;
bool hasGTests = false;
foreach (TestConfiguration *config, selectedTests) { foreach (TestConfiguration *config, selectedTests) {
config->completeTestInformation(); config->completeTestInformation();
if (config->project()) { if (config->project()) {
testCaseCount += config->testCaseCount(); testCaseCount += config->testCaseCount();
hasQtTests |= config->testType() == TestConfiguration::Qt;
hasGTests |= config->testType() == TestConfiguration::GTest;
} else { } else {
emitTestResultCreated(new FaultyTestResult(Result::MessageWarn, emitTestResultCreated(new FaultyTestResult(Result::MessageWarn,
QObject::tr("Project is null for \"%1\". Removing from test run.\n" QObject::tr("Project is null for \"%1\". Removing from test run.\n"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment