diff --git a/src/drivers/QtTestDriver.cpp b/src/drivers/QtTestDriver.cpp index 95b46f78..e95e32fd 100644 --- a/src/drivers/QtTestDriver.cpp +++ b/src/drivers/QtTestDriver.cpp @@ -14,12 +14,10 @@ const InvokeResult QtTestStep::invokeStepBody() { } file.close(); - QtTestObject testObject(this); - int returnValue = QTest::qExec( - &testObject, - QStringList() << "test" - << "-o" << file.fileName() - ); + QtTestObject testObject{this}; + const QStringList args{"test", "-o", file.fileName() + ",tap"}; + int returnValue = QTest::qExec(&testObject, args); + if (returnValue == 0) { return InvokeResult::success(); } else {