diff --git a/tests/auto/protobufgen/tst_qtprotobufgen.cpp b/tests/auto/protobufgen/tst_qtprotobufgen.cpp index f6743f20..38a1bc7c 100644 --- a/tests/auto/protobufgen/tst_qtprotobufgen.cpp +++ b/tests/auto/protobufgen/tst_qtprotobufgen.cpp @@ -252,9 +252,12 @@ void qtprotobufgenTest::cmdLineInvalidExportMacro() QProcess process; process.setWorkingDirectory(cmdLineGeneratedPath()); - process.startCommand(ProtocPath + QString(" ") + PluginKey + QtprotobufgenPath + OptKey - + exportMacroCmd + OutKey + outputDirectory.absolutePath() + IncludeKey - + expectedResultPath() + "qtprotobufgen.proto" + allow_proto3_optional); + process.startCommand(ProtocPath + QString(" ") + PluginKey + QtprotobufgenPath + + OptKey + exportMacroCmd + + OutKey + outputDirectory.absolutePath() + + IncludeKey + expectedResultPath() + + + " " + expectedResultPath() + "/qtprotobufgen.proto" + + allow_proto3_optional); QVERIFY2(process.waitForStarted(), msgProcessStartFailed(process).constData()); if (!process.waitForFinished()) { process.kill();