mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 22:10:25 +02:00
Fixed Linux error
This commit is contained in:
parent
cd2194ad53
commit
58bac436ba
1 changed files with 4 additions and 3 deletions
|
@ -405,7 +405,7 @@ void TestRunner::runInterfaceWithTestScript() {
|
||||||
#ifdef Q_OS_WIN
|
#ifdef Q_OS_WIN
|
||||||
url = "hifi://localhost";
|
url = "hifi://localhost";
|
||||||
#elif defined Q_OS_MAC
|
#elif defined Q_OS_MAC
|
||||||
// TODO: Find out Mac equivalent of AppData, then this win't be needed
|
// TODO: Find out Mac equivalent of AppData, then this won't be needed
|
||||||
url = "hifi://localhost/9999,9999,9999";
|
url = "hifi://localhost/9999,9999,9999";
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
@ -413,12 +413,13 @@ 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;
|
||||||
#ifdef Q_OS_WIN
|
#ifdef Q_OS_WIN
|
||||||
QString exeFile = QString("\"") + QDir::toNativeSeparators(_installationFolder) + "\\interface.exe\"";
|
QString exeFile = QString("\"") + QDir::toNativeSeparators(_installationFolder) + "\\interface.exe\"";
|
||||||
QString commandLine = exeFile + " --url " + url + " --no-updater" + " --testScript " + testScript +
|
commandLine = exeFile + " --url " + url + " --no-updater" + " --testScript " + testScript +
|
||||||
" quitWhenFinished --testResultsLocation " + _snapshotFolder;
|
" quitWhenFinished --testResultsLocation " + _snapshotFolder;
|
||||||
#elif defined Q_OS_MAC
|
#elif defined Q_OS_MAC
|
||||||
QString commandLine = "open \"" +_installationFolder + "/interface.app\" --args" +
|
commandLine = "open \"" +_installationFolder + "/interface.app\" --args" +
|
||||||
" --url " + url +
|
" --url " + url +
|
||||||
" --no-updater" +
|
" --no-updater" +
|
||||||
" --testScript " + testScript + " quitWhenFinished" +
|
" --testScript " + testScript + " quitWhenFinished" +
|
||||||
|
|
Loading…
Reference in a new issue