Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Tarassov2019-07-20 19:04:14 +0000
committerEugene Tarassov2019-07-20 19:04:14 +0000
commit03ec13f40db63c73869432b04bf249d9fc64579e (patch)
tree85bbeed04e687247c5fbcf43b1a83ef337db9894 /plugins/org.eclipse.tcf.debug
parent9dbcddb9fc5ae2a671276f94bea6e03e29440990 (diff)
downloadorg.eclipse.tcf-03ec13f40db63c73869432b04bf249d9fc64579e.tar.gz
org.eclipse.tcf-03ec13f40db63c73869432b04bf249d9fc64579e.tar.xz
org.eclipse.tcf-03ec13f40db63c73869432b04bf249d9fc64579e.zip
TCF Tests: fixed regression: run control test hangs if target does not support RCBP tests
Diffstat (limited to 'plugins/org.eclipse.tcf.debug')
-rw-r--r--plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/tests/TestRCBP1.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/tests/TestRCBP1.java b/plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/tests/TestRCBP1.java
index 52cb7071e..6fa9403ea 100644
--- a/plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/tests/TestRCBP1.java
+++ b/plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/tests/TestRCBP1.java
@@ -355,9 +355,8 @@ class TestRCBP1 implements ITCFTest, RunControl.DiagnosticTestDone, IRunControl.
for (SuspendedContext sc : suspended.values()) runRegistersTest(sc, done);
return;
}
- if (!test_done) {
- return;
- }
+ if (test_ctx_id == null) test_done = true;
+ else if (!test_done) return;
if (!bp_reset_done) {
resetBreakpoints();
return;

Back to the top