diff --git a/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/src/org/eclipse/cdt/tests/dsf/gdb/tests/tests_6_6/MIBreakpointsTest_6_6.java b/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/src/org/eclipse/cdt/tests/dsf/gdb/tests/tests_6_6/MIBreakpointsTest_6_6.java index fb510d72781..10ae21639c1 100644 --- a/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/src/org/eclipse/cdt/tests/dsf/gdb/tests/tests_6_6/MIBreakpointsTest_6_6.java +++ b/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/src/org/eclipse/cdt/tests/dsf/gdb/tests/tests_6_6/MIBreakpointsTest_6_6.java @@ -13,6 +13,8 @@ package org.eclipse.cdt.tests.dsf.gdb.tests.tests_6_6; import org.eclipse.cdt.tests.dsf.gdb.framework.BackgroundRunner; import org.eclipse.cdt.tests.dsf.gdb.tests.ITestConstants; import org.eclipse.cdt.tests.dsf.gdb.tests.MIBreakpointsTest; +import org.junit.Ignore; +import org.junit.Test; import org.junit.runner.RunWith; @RunWith(BackgroundRunner.class) @@ -21,4 +23,14 @@ public class MIBreakpointsTest_6_6 extends MIBreakpointsTest { protected void setGdbVersion() { setGdbProgramNamesLaunchAttributes(ITestConstants.SUFFIX_GDB_6_6); } + + // Currently, this test uses breakpoint synchronization with + // the gdb console which is only available with GDB 7.4 + // So we mark it with @Ignore + @Override + @Ignore + @Test + public void updateBreakpoint_AfterRestart() throws Throwable { + super.updateBreakpoint_AfterRestart(); + } } diff --git a/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/src/org/eclipse/cdt/tests/dsf/gdb/tests/tests_7_4/MIBreakpointsTest_7_4.java b/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/src/org/eclipse/cdt/tests/dsf/gdb/tests/tests_7_4/MIBreakpointsTest_7_4.java index c9fb9d43bbf..f417b937867 100644 --- a/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/src/org/eclipse/cdt/tests/dsf/gdb/tests/tests_7_4/MIBreakpointsTest_7_4.java +++ b/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/src/org/eclipse/cdt/tests/dsf/gdb/tests/tests_7_4/MIBreakpointsTest_7_4.java @@ -60,4 +60,16 @@ public class MIBreakpointsTest_7_4 extends MIBreakpointsTest_7_3 { assertTrue("Breakpoint should be pending", bpData.isPending()); assertTrue("Breakpoint mismatch should be enabled", bpData.isEnabled()); } + + // Re-enabled this test since it needs breakpoint synchronization + // with the gdb console, which is available starting with GDB 7.4 + // We still leave the test in the base class MIBreakpointsTest because + // the test could be written differently and made to work for older + // gdb versions + @Override + @Test + public void updateBreakpoint_AfterRestart() throws Throwable { + super.updateBreakpoint_AfterRestart(); + } + }