mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 22:36:57 +02:00
Added no login option.
This commit is contained in:
parent
fb0a7274bf
commit
702e09b4bc
1 changed files with 4 additions and 3 deletions
|
@ -322,11 +322,12 @@ void TestRunner::startLocalServerProcesses() {
|
||||||
system(commandLine.toStdString().c_str());
|
system(commandLine.toStdString().c_str());
|
||||||
#endif
|
#endif
|
||||||
// Give server processes time to stabilize
|
// Give server processes time to stabilize
|
||||||
QThread::sleep(12);
|
QThread::sleep(20);
|
||||||
}
|
}
|
||||||
|
|
||||||
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()) {
|
||||||
|
@ -339,8 +340,8 @@ 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 " + " --testScript " + testScript +
|
QString commandLine = exeFile + " --url " + url + " --no-updater --no-login" + " --testScript " + testScript +
|
||||||
" quitWhenFinished --testResultsLocation " + _snapshotFolder;
|
" quitWhenFinished --testResultsLocation " + snapshotFolder;
|
||||||
|
|
||||||
interfaceWorker->setCommandLine(commandLine);
|
interfaceWorker->setCommandLine(commandLine);
|
||||||
emit startInterface();
|
emit startInterface();
|
||||||
|
|
Loading…
Reference in a new issue