aboutsummaryrefslogtreecommitdiffstats
path: root/tests/QtScriptTools/debugger_test.py
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2017-03-23 09:19:10 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2017-03-23 09:19:56 +0100
commit37333deacf7e2361cff7d40886f61c7546516852 (patch)
treea96c36d84cd0bb501067daed51062cb5357e578e /tests/QtScriptTools/debugger_test.py
parentbbc13fe6ad1de634a6d3b594220ad780583378e0 (diff)
parent4edd9a1278efdf37f366e9aa6e82f151a357ef32 (diff)
Merge branch 'dev' into wip/clangwip/clang
Diffstat (limited to 'tests/QtScriptTools/debugger_test.py')
-rw-r--r--tests/QtScriptTools/debugger_test.py6
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)