mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 15:23:05 +02:00
Corrected use of _snapshotFolder.
This commit is contained in:
parent
028d1cf237
commit
47ce1573eb
1 changed files with 5 additions and 3 deletions
|
@ -327,7 +327,6 @@ void TestRunner::startLocalServerProcesses() {
|
||||||
|
|
||||||
void TestRunner::runInterfaceWithTestScript() {
|
void TestRunner::runInterfaceWithTestScript() {
|
||||||
QString exeFile = QString("\"") + QDir::toNativeSeparators(_installationFolder) + "\\interface.exe\"";
|
QString exeFile = QString("\"") + QDir::toNativeSeparators(_installationFolder) + "\\interface.exe\"";
|
||||||
QString snapshotFolder = QString("\"") + QDir::toNativeSeparators(_snapshotFolder) + "\"";
|
|
||||||
|
|
||||||
QString url = QString("hifi://localhost");
|
QString url = QString("hifi://localhost");
|
||||||
if (_runServerless->isChecked()) {
|
if (_runServerless->isChecked()) {
|
||||||
|
@ -340,8 +339,11 @@ void TestRunner::runInterfaceWithTestScript() {
|
||||||
QString testScript =
|
QString testScript =
|
||||||
QString("https://raw.githubusercontent.com/") + _user + "/hifi_tests/" + _branch + "/tests/testRecursive.js";
|
QString("https://raw.githubusercontent.com/") + _user + "/hifi_tests/" + _branch + "/tests/testRecursive.js";
|
||||||
|
|
||||||
QString commandLine = exeFile + " --url " + url + " --no-updater --no-login" + " --testScript " + testScript +
|
QString commandLine = exeFile + " --url " + url + " --no-updater" + " --testScript " + testScript +
|
||||||
" quitWhenFinished --testResultsLocation " + snapshotFolder;
|
" quitWhenFinished --testResultsLocation " + _snapshotFolder;
|
||||||
|
|
||||||
|
// Helpful for debugging
|
||||||
|
appendLog(commandLine);
|
||||||
|
|
||||||
interfaceWorker->setCommandLine(commandLine);
|
interfaceWorker->setCommandLine(commandLine);
|
||||||
emit startInterface();
|
emit startInterface();
|
||||||
|
|
Loading…
Reference in a new issue