Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Tarassov2020-02-11 20:48:42 +0000
committerEugene Tarassov2020-02-11 20:48:42 +0000
commit7b4454d567fb53b29812d26fdd7c8f4bf2c8b574 (patch)
tree0d220a58ff6795c9912ccaac243e8d8a4d18fec9
parent0f649ea38f1d1408bb9641e67360df7880c8b91c (diff)
downloadorg.eclipse.tcf-7b4454d567fb53b29812d26fdd7c8f4bf2c8b574.tar.gz
org.eclipse.tcf-7b4454d567fb53b29812d26fdd7c8f4bf2c8b574.tar.xz
org.eclipse.tcf-7b4454d567fb53b29812d26fdd7c8f4bf2c8b574.zip
TCF Tests: fixed test failure cased by GDB code changes
-rw-r--r--tests/plugins/org.eclipse.tcf.debug.gdb.test/src/org/eclipse/tcf/debug/gdb/test/TestThread.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/plugins/org.eclipse.tcf.debug.gdb.test/src/org/eclipse/tcf/debug/gdb/test/TestThread.java b/tests/plugins/org.eclipse.tcf.debug.gdb.test/src/org/eclipse/tcf/debug/gdb/test/TestThread.java
index db9108d4d..f162eeba9 100644
--- a/tests/plugins/org.eclipse.tcf.debug.gdb.test/src/org/eclipse/tcf/debug/gdb/test/TestThread.java
+++ b/tests/plugins/org.eclipse.tcf.debug.gdb.test/src/org/eclipse/tcf/debug/gdb/test/TestThread.java
@@ -270,7 +270,7 @@ class TestThread extends Thread {
cmd("add-infer");
for (String s : std_out.lst) {
if (s.startsWith("Added inferior ")) {
- infer = Integer.parseInt(s.substring(15));
+ infer = Integer.parseInt(s.split("\\s+")[2]);
}
}
if (infer == 0)

Back to the top