Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Dumais2017-02-16 13:37:16 -0500
committerMarc Dumais2017-02-16 14:10:15 -0500
commitad845e6c3a9359ed1f4a0fa5cc61a64e43e6ffe1 (patch)
treefd1bb4fa84a32cb37645e3bc9665a342d978e6d2 /dsf-gdb
parent40416c3da456b5e400612f4582d99b5b6408bd82 (diff)
downloadorg.eclipse.cdt-ad845e6c3a9359ed1f4a0fa5cc61a64e43e6ffe1.tar.gz
org.eclipse.cdt-ad845e6c3a9359ed1f4a0fa5cc61a64e43e6ffe1.tar.xz
org.eclipse.cdt-ad845e6c3a9359ed1f4a0fa5cc61a64e43e6ffe1.zip
Bug 512303 - [tests] job debug-tests-master-all-gdb-versions has issues
Disabling test suites MIExpressionsTest and StepIntoSelectionTest for GDB < 7.5. Change-Id: I93b7739fc8c93a90f205122f6332754e99f739ca
Diffstat (limited to 'dsf-gdb')
-rw-r--r--dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/src/org/eclipse/cdt/tests/dsf/gdb/tests/MIExpressionsTest.java5
-rw-r--r--dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/src/org/eclipse/cdt/tests/dsf/gdb/tests/StepIntoSelectionTest.java5
2 files changed, 10 insertions, 0 deletions
diff --git a/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/src/org/eclipse/cdt/tests/dsf/gdb/tests/MIExpressionsTest.java b/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/src/org/eclipse/cdt/tests/dsf/gdb/tests/MIExpressionsTest.java
index de9d816596..9290fabd78 100644
--- a/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/src/org/eclipse/cdt/tests/dsf/gdb/tests/MIExpressionsTest.java
+++ b/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/src/org/eclipse/cdt/tests/dsf/gdb/tests/MIExpressionsTest.java
@@ -93,6 +93,11 @@ public class MIExpressionsTest extends BaseParametrizedTestCase {
public void doBeforeTest() throws Exception {
super.doBeforeTest();
+ // Disabling this suite for GDB < 7.5. There are issues when the test
+ // binaries are compiled with gcc > 4.8, which uses DWARF version 4.
+ // see bug 512303
+ assumeGdbVersionAtLeast(ITestConstants.SUFFIX_GDB_7_5);
+
fSession = getGDBLaunch().getSession();
Runnable runnable = new Runnable() {
@Override
diff --git a/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/src/org/eclipse/cdt/tests/dsf/gdb/tests/StepIntoSelectionTest.java b/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/src/org/eclipse/cdt/tests/dsf/gdb/tests/StepIntoSelectionTest.java
index 2a040cc1d4..94d0c25c13 100644
--- a/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/src/org/eclipse/cdt/tests/dsf/gdb/tests/StepIntoSelectionTest.java
+++ b/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/src/org/eclipse/cdt/tests/dsf/gdb/tests/StepIntoSelectionTest.java
@@ -108,6 +108,11 @@ public class StepIntoSelectionTest extends BaseParametrizedTestCase {
@Override
public void doBeforeTest() throws Exception {
super.doBeforeTest();
+
+ // Disabling this suite for GDB < 7.5. There are issues when the test
+ // binaries are compiled with gcc > 4.8, which uses DWARF version 4.
+ // see bug 512303
+ assumeGdbVersionAtLeast(ITestConstants.SUFFIX_GDB_7_5);
Runnable runnable = new Runnable() {
@Override

Back to the top