Commit 65afa592 authored by Michal Policht's avatar Michal Policht

Verify that process has finished.

parent a7e50376
......@@ -75,7 +75,7 @@ void test_cutehmi_daemon::countDaemonExample()
QProcess process;
QStringList arguments { {"--app"}, {"--project=examples/CountDaemon/Main.qml"} };
process.start(m_programPath, arguments);
process.waitForFinished();
QVERIFY(process.waitForFinished());
QString stdOut = QString::fromLocal8Bit(process.readAllStandardOutput());
QString stdErr = QString::fromLocal8Bit(process.readAllStandardError());
......
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