diff --git a/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/src/org/eclipse/cdt/tests/dsf/gdb/tests/tests_6_7/MIExpressionsTest_6_7.java b/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/src/org/eclipse/cdt/tests/dsf/gdb/tests/tests_6_7/MIExpressionsTest_6_7.java index 9be74a6c0e1..9119e50bfeb 100644 --- a/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/src/org/eclipse/cdt/tests/dsf/gdb/tests/tests_6_7/MIExpressionsTest_6_7.java +++ b/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/src/org/eclipse/cdt/tests/dsf/gdb/tests/tests_6_7/MIExpressionsTest_6_7.java @@ -13,6 +13,7 @@ package org.eclipse.cdt.tests.dsf.gdb.tests.tests_6_7; 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.tests_6_6.MIExpressionsTest_6_6; +import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; @@ -36,4 +37,13 @@ public class MIExpressionsTest_6_7 extends MIExpressionsTest_6_6 { public void testDeleteChildren() throws Throwable { super.testDeleteChildren(); } + + @Override + @Ignore("Causes a crash in GDB 6.7 only") + @Test + public void testRTTI() throws Throwable { + // Must call the test in the super class to allow further derived + // classes to run this test. + super.testRTTI(); + } } diff --git a/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/src/org/eclipse/cdt/tests/dsf/gdb/tests/tests_6_8/MIExpressionsTest_6_8.java b/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/src/org/eclipse/cdt/tests/dsf/gdb/tests/tests_6_8/MIExpressionsTest_6_8.java index df2f5498bb8..e23c03525eb 100644 --- a/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/src/org/eclipse/cdt/tests/dsf/gdb/tests/tests_6_8/MIExpressionsTest_6_8.java +++ b/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/src/org/eclipse/cdt/tests/dsf/gdb/tests/tests_6_8/MIExpressionsTest_6_8.java @@ -30,4 +30,10 @@ public class MIExpressionsTest_6_8 extends MIExpressionsTest_6_7 { super.testCanWriteLValue(); } + // Re-enable this test starting with GDB 6.8 + @Override + @Test + public void testRTTI() throws Throwable { + super.testRTTI(); + } }