Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Khouzam2012-05-17 13:54:17 -0400
committerMarc Khouzam2012-05-17 17:41:00 -0400
commit6d3706eaf26c7aa4eb0f5dbb222529cf2f315652 (patch)
tree234d7c638aad95b74aba9bb03bcda4af08e89f91 /dsf-gdb
parent8bb266decfa2dedceeae10fa4dd2786388b60a6b (diff)
downloadorg.eclipse.cdt-6d3706eaf26c7aa4eb0f5dbb222529cf2f315652.tar.gz
org.eclipse.cdt-6d3706eaf26c7aa4eb0f5dbb222529cf2f315652.tar.xz
org.eclipse.cdt-6d3706eaf26c7aa4eb0f5dbb222529cf2f315652.zip
Bug 379724: [tests] RTTI test crashes GDB 6.7
Change-Id: I8ac36087ff874dfd294e1187efc2ba01a8cf5b41 Reviewed-on: https://git.eclipse.org/r/6016 Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com> IP-Clean: Marc Khouzam <marc.khouzam@ericsson.com> Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
Diffstat (limited to 'dsf-gdb')
-rw-r--r--dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/src/org/eclipse/cdt/tests/dsf/gdb/tests/tests_6_7/MIExpressionsTest_6_7.java10
-rw-r--r--dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/src/org/eclipse/cdt/tests/dsf/gdb/tests/tests_6_8/MIExpressionsTest_6_8.java6
2 files changed, 16 insertions, 0 deletions
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 9be74a6c0e..9119e50bfe 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 df2f5498bb..e23c03525e 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();
+ }
}

Back to the top