forked from qt-creator/qt-creator
Utils: Rename QtcProcess -> Process
Task-number: QTCREATORBUG-29102 Change-Id: Ibc264f9db6a32206e4097766ee3f7d0b35225a5c Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -17,14 +17,14 @@ using namespace Utils;
|
||||
namespace Autotest {
|
||||
namespace Internal {
|
||||
|
||||
GTestOutputReader::GTestOutputReader(QtcProcess *testApplication,
|
||||
GTestOutputReader::GTestOutputReader(Process *testApplication,
|
||||
const FilePath &buildDirectory,
|
||||
const FilePath &projectFile)
|
||||
: TestOutputReader(testApplication, buildDirectory)
|
||||
, m_projectFile(projectFile)
|
||||
{
|
||||
if (testApplication) {
|
||||
connect(testApplication, &QtcProcess::done, this, [this, testApplication] {
|
||||
connect(testApplication, &Process::done, this, [this, testApplication] {
|
||||
const int exitCode = testApplication->exitCode();
|
||||
if (exitCode == 1 && !m_description.isEmpty()) {
|
||||
createAndReportResult(Tr::tr("Running tests failed.\n %1\nExecutable: %2")
|
||||
|
||||
Reference in New Issue
Block a user