Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions src/drivers/QtTestDriver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down