diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2017-03-23 09:19:10 +0100 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2017-03-23 09:19:56 +0100 |
| commit | 37333deacf7e2361cff7d40886f61c7546516852 (patch) | |
| tree | a96c36d84cd0bb501067daed51062cb5357e578e /tests/QtScriptTools/debugger_test.py | |
| parent | bbc13fe6ad1de634a6d3b594220ad780583378e0 (diff) | |
| parent | 4edd9a1278efdf37f366e9aa6e82f151a357ef32 (diff) | |
Merge branch 'dev' into wip/clangwip/clang
Change-Id: Ia2090c014755d23b04325f024a00a8b7641ae9cc
Diffstat (limited to 'tests/QtScriptTools/debugger_test.py')
| -rw-r--r-- | tests/QtScriptTools/debugger_test.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/QtScriptTools/debugger_test.py b/tests/QtScriptTools/debugger_test.py index 6e27a72a..ea8e557a 100644 --- a/tests/QtScriptTools/debugger_test.py +++ b/tests/QtScriptTools/debugger_test.py @@ -62,7 +62,11 @@ class DebuggerTest(UsesQApplication): self.debugger.connect(SIGNAL('evaluationSuspended()'), self.suspended) self.debugger.connect(SIGNAL('evaluationResumed()'), self.resumed) - self.debugger.action(QScriptEngineDebugger.InterruptAction).trigger() + # For some reason StepIntoAction does not actually continue execution, and thus interrupting + # causes the test to hang. The same behavior is present in a Qt5.6 C++ code equivalent. It + # seems like a bug in QtScript, thus the interruption is commented out for now, which will + # force the test to fail. + #self.debugger.action(QScriptEngineDebugger.InterruptAction).trigger() self.engine.evaluate("3+4\n2+1\n5+1") self.assertTrue(self.has_resumed >= 1) self.assertTrue(self.has_suspended >= 1) |
