test: use olive-render-worker.exe on Windows in render worker footage test
QFileInfo::exists() does not auto-append .exe on Windows, so the test failed to locate the worker binary even though it was built.
This commit is contained in:
@@ -99,7 +99,11 @@ QString WorkerBinaryPath()
|
|||||||
dir.cdUp(); // tests/gtest -> tests
|
dir.cdUp(); // tests/gtest -> tests
|
||||||
dir.cdUp(); // tests -> build dir
|
dir.cdUp(); // tests -> build dir
|
||||||
dir.cd(QStringLiteral("app"));
|
dir.cd(QStringLiteral("app"));
|
||||||
|
#if defined(_WIN32)
|
||||||
|
return dir.filePath(QStringLiteral("olive-render-worker.exe"));
|
||||||
|
#else
|
||||||
return dir.filePath(QStringLiteral("olive-render-worker"));
|
return dir.filePath(QStringLiteral("olive-render-worker"));
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
QString DemoVideoPath()
|
QString DemoVideoPath()
|
||||||
|
|||||||
Reference in New Issue
Block a user