forked from qt-creator/qt-creator
ValgrindRunner: Remove ValgrindRunner::setDevice
The device can now be determined from the debuggee's file path. Change-Id: I2b24d6e325f74826a644d02a9e418576c4e9b436 Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
@@ -91,8 +91,6 @@ QString ValgrindTestRunnerTest::runTestBinary(const QString &binary, const QStri
|
||||
m_runner->setLocalServerAddress(QHostAddress::LocalHost);
|
||||
m_runner->setValgrindCommand(valgrind);
|
||||
m_runner->setDebuggee(debuggee);
|
||||
m_runner->setDevice(DeviceManager::instance()->defaultDevice(
|
||||
ProjectExplorer::Constants::DESKTOP_DEVICE_TYPE));
|
||||
m_runner->start();
|
||||
m_runner->waitForFinished();
|
||||
return binPath;
|
||||
|
||||
Reference in New Issue
Block a user