forked from qt-creator/qt-creator
Remove unused variables
Change-Id: I54702e7a604c7d450a6664812fb302b9e55f9a47 Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
This commit is contained in:
@@ -110,14 +110,10 @@ void performTestRun(QFutureInterface<void> &futureInterface,
|
||||
const QString metricsOption, TestRunner* testRunner)
|
||||
{
|
||||
int testCaseCount = 0;
|
||||
bool hasQtTests = false;
|
||||
bool hasGTests = false;
|
||||
foreach (TestConfiguration *config, selectedTests) {
|
||||
config->completeTestInformation();
|
||||
if (config->project()) {
|
||||
testCaseCount += config->testCaseCount();
|
||||
hasQtTests |= config->testType() == TestConfiguration::Qt;
|
||||
hasGTests |= config->testType() == TestConfiguration::GTest;
|
||||
} else {
|
||||
emitTestResultCreated(new FaultyTestResult(Result::MessageWarn,
|
||||
QObject::tr("Project is null for \"%1\". Removing from test run.\n"
|
||||
|
Reference in New Issue
Block a user