Showing the changes to tests/script-engine/src/ScriptEngineTests.cpp (1 of 5 files). Show all
Unified · Split
| @@ -87,7 +87,7 @@ void ScriptEngineTests::scriptTest() { · 86 unmodified lines | ||
| 87 | 87 | qInfo() << "Running test script: " << script; |
| 88 | 88 | ac->loadOneScript(script); |
| 89 | 89 | }*/ |
| 90 | − ac->loadOneScript("tests/003_vector_math.js"); | |
| 90 | + //ac->loadOneScript("tests/003_vector_math.js"); | |
| 91 | 91 | ac->loadOneScript("tests/004_require.js"); |
| 92 | 92 | |
| 93 | 93 | qDebug() << ac->getRunning(); |
| @@ -95,7 +95,7 @@ void ScriptEngineTests::scriptTest() { · 1 unmodified line | ||
| 95 | 95 | // TODO: if I don't have infinite loop here, it exits before scripts finish. It also reports: QSignalSpy: No such signal: 'scriptCountChanged' |
| 96 | 96 | for (int n = 0; n > -1; n++) { |
| 97 | 97 | QSignalSpy spy(ac.get(), SIGNAL(scriptCountChanged)); |
| 98 | − spy.wait(1000); | |
| 98 | + spy.wait(100000); | |
| 99 | 99 | qDebug() << "Signal happened"; |
| 100 | 100 | } |
| 101 | 101 | //spy.wait(5000); |