mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-22 14:12:10 +02:00
Bug 315784: Support to test with GDB 7.1 and 7.2
This commit is contained in:
parent
5e74ca7b35
commit
8c5a9f0d91
58 changed files with 741 additions and 35 deletions
|
@ -1,5 +1,5 @@
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
* Copyright (c) 2009 Ericsson and others.
|
* Copyright (c) 2009, 2010 Ericsson and others.
|
||||||
* All rights reserved. This program and the accompanying materials
|
* All rights reserved. This program and the accompanying materials
|
||||||
* are made available under the terms of the Eclipse Public License v1.0
|
* are made available under the terms of the Eclipse Public License v1.0
|
||||||
* which accompanies this distribution, and is available at
|
* which accompanies this distribution, and is available at
|
||||||
|
@ -14,6 +14,7 @@ import org.eclipse.cdt.tests.dsf.gdb.tests.tests_6_6.Suite_6_6;
|
||||||
import org.eclipse.cdt.tests.dsf.gdb.tests.tests_6_7.Suite_6_7;
|
import org.eclipse.cdt.tests.dsf.gdb.tests.tests_6_7.Suite_6_7;
|
||||||
import org.eclipse.cdt.tests.dsf.gdb.tests.tests_6_8.Suite_6_8;
|
import org.eclipse.cdt.tests.dsf.gdb.tests.tests_6_8.Suite_6_8;
|
||||||
import org.eclipse.cdt.tests.dsf.gdb.tests.tests_7_0.Suite_7_0;
|
import org.eclipse.cdt.tests.dsf.gdb.tests.tests_7_0.Suite_7_0;
|
||||||
|
import org.eclipse.cdt.tests.dsf.gdb.tests.tests_7_1.Suite_7_1;
|
||||||
import org.junit.runner.RunWith;
|
import org.junit.runner.RunWith;
|
||||||
import org.junit.runners.Suite;
|
import org.junit.runners.Suite;
|
||||||
|
|
||||||
|
@ -32,6 +33,7 @@ import org.junit.runners.Suite;
|
||||||
Suite_6_7.class,
|
Suite_6_7.class,
|
||||||
Suite_6_8.class,
|
Suite_6_8.class,
|
||||||
Suite_7_0.class,
|
Suite_7_0.class,
|
||||||
|
Suite_7_1.class,
|
||||||
/* Add your suite class here */
|
/* Add your suite class here */
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
* Copyright (c) 2009 Ericsson and others.
|
* Copyright (c) 2009, 2010 Ericsson and others.
|
||||||
* All rights reserved. This program and the accompanying materials
|
* All rights reserved. This program and the accompanying materials
|
||||||
* are made available under the terms of the Eclipse Public License v1.0
|
* are made available under the terms of the Eclipse Public License v1.0
|
||||||
* which accompanies this distribution, and is available at
|
* which accompanies this distribution, and is available at
|
||||||
|
@ -14,6 +14,7 @@ import org.eclipse.cdt.tests.dsf.gdb.tests.tests_6_6.Suite_Remote_6_6;
|
||||||
import org.eclipse.cdt.tests.dsf.gdb.tests.tests_6_7.Suite_Remote_6_7;
|
import org.eclipse.cdt.tests.dsf.gdb.tests.tests_6_7.Suite_Remote_6_7;
|
||||||
import org.eclipse.cdt.tests.dsf.gdb.tests.tests_6_8.Suite_Remote_6_8;
|
import org.eclipse.cdt.tests.dsf.gdb.tests.tests_6_8.Suite_Remote_6_8;
|
||||||
import org.eclipse.cdt.tests.dsf.gdb.tests.tests_7_0.Suite_Remote_7_0;
|
import org.eclipse.cdt.tests.dsf.gdb.tests.tests_7_0.Suite_Remote_7_0;
|
||||||
|
import org.eclipse.cdt.tests.dsf.gdb.tests.tests_7_1.Suite_Remote_7_1;
|
||||||
import org.junit.runner.RunWith;
|
import org.junit.runner.RunWith;
|
||||||
import org.junit.runners.Suite;
|
import org.junit.runners.Suite;
|
||||||
|
|
||||||
|
@ -32,6 +33,7 @@ import org.junit.runners.Suite;
|
||||||
Suite_Remote_6_7.class,
|
Suite_Remote_6_7.class,
|
||||||
Suite_Remote_6_8.class,
|
Suite_Remote_6_8.class,
|
||||||
Suite_Remote_7_0.class,
|
Suite_Remote_7_0.class,
|
||||||
|
Suite_Remote_7_1.class,
|
||||||
/* Add your suite class here */
|
/* Add your suite class here */
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,21 @@
|
||||||
|
/*******************************************************************************
|
||||||
|
* Copyright (c) 2010 Ericsson and others.
|
||||||
|
* All rights reserved. This program and the accompanying materials
|
||||||
|
* are made available under the terms of the Eclipse Public License v1.0
|
||||||
|
* which accompanies this distribution, and is available at
|
||||||
|
* http://www.eclipse.org/legal/epl-v10.html
|
||||||
|
*
|
||||||
|
* Contributors:
|
||||||
|
* Ericsson AB - Initial implementation of Test cases
|
||||||
|
*******************************************************************************/
|
||||||
|
package org.eclipse.cdt.tests.dsf.gdb.tests;
|
||||||
|
|
||||||
|
public interface ITestConstants {
|
||||||
|
|
||||||
|
public static final String SUFFIX_GDB_6_6 = "6.6";
|
||||||
|
public static final String SUFFIX_GDB_6_7 = "6.7";
|
||||||
|
public static final String SUFFIX_GDB_6_8 = "6.8";
|
||||||
|
public static final String SUFFIX_GDB_7_0 = "7.0";
|
||||||
|
public static final String SUFFIX_GDB_7_1 = "7.1";
|
||||||
|
public static final String SUFFIX_GDB_7_2 = "7.2";
|
||||||
|
}
|
|
@ -12,6 +12,7 @@ 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.framework.BackgroundRunner;
|
||||||
import org.eclipse.cdt.tests.dsf.gdb.tests.GDBProcessesTest;
|
import org.eclipse.cdt.tests.dsf.gdb.tests.GDBProcessesTest;
|
||||||
|
import org.eclipse.cdt.tests.dsf.gdb.tests.ITestConstants;
|
||||||
import org.junit.BeforeClass;
|
import org.junit.BeforeClass;
|
||||||
import org.junit.runner.RunWith;
|
import org.junit.runner.RunWith;
|
||||||
|
|
||||||
|
@ -19,6 +20,6 @@ import org.junit.runner.RunWith;
|
||||||
public class GDBProcessesTest_6_6 extends GDBProcessesTest {
|
public class GDBProcessesTest_6_6 extends GDBProcessesTest {
|
||||||
@BeforeClass
|
@BeforeClass
|
||||||
public static void beforeClassMethod_6_6() {
|
public static void beforeClassMethod_6_6() {
|
||||||
setGdbProgramNamesLaunchAttributes("6.6");
|
setGdbProgramNamesLaunchAttributes(ITestConstants.SUFFIX_GDB_6_6);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_6_6;
|
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.framework.BackgroundRunner;
|
||||||
|
import org.eclipse.cdt.tests.dsf.gdb.tests.ITestConstants;
|
||||||
import org.eclipse.cdt.tests.dsf.gdb.tests.MIBreakpointsTest;
|
import org.eclipse.cdt.tests.dsf.gdb.tests.MIBreakpointsTest;
|
||||||
import org.junit.BeforeClass;
|
import org.junit.BeforeClass;
|
||||||
import org.junit.runner.RunWith;
|
import org.junit.runner.RunWith;
|
||||||
|
@ -19,6 +20,6 @@ import org.junit.runner.RunWith;
|
||||||
public class MIBreakpointsTest_6_6 extends MIBreakpointsTest {
|
public class MIBreakpointsTest_6_6 extends MIBreakpointsTest {
|
||||||
@BeforeClass
|
@BeforeClass
|
||||||
public static void beforeClassMethod_6_6() {
|
public static void beforeClassMethod_6_6() {
|
||||||
setGdbProgramNamesLaunchAttributes("6.6");
|
setGdbProgramNamesLaunchAttributes(ITestConstants.SUFFIX_GDB_6_6);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_6_6;
|
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.framework.BackgroundRunner;
|
||||||
|
import org.eclipse.cdt.tests.dsf.gdb.tests.ITestConstants;
|
||||||
import org.eclipse.cdt.tests.dsf.gdb.tests.MICatchpointsTest;
|
import org.eclipse.cdt.tests.dsf.gdb.tests.MICatchpointsTest;
|
||||||
import org.junit.BeforeClass;
|
import org.junit.BeforeClass;
|
||||||
import org.junit.runner.RunWith;
|
import org.junit.runner.RunWith;
|
||||||
|
@ -19,6 +20,6 @@ import org.junit.runner.RunWith;
|
||||||
public class MICatchpointsTest_6_6 extends MICatchpointsTest {
|
public class MICatchpointsTest_6_6 extends MICatchpointsTest {
|
||||||
@BeforeClass
|
@BeforeClass
|
||||||
public static void beforeClassMethod_6_6() {
|
public static void beforeClassMethod_6_6() {
|
||||||
setGdbProgramNamesLaunchAttributes("6.6");
|
setGdbProgramNamesLaunchAttributes(ITestConstants.SUFFIX_GDB_6_6);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,6 +12,7 @@
|
||||||
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_6_6;
|
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.framework.BackgroundRunner;
|
||||||
|
import org.eclipse.cdt.tests.dsf.gdb.tests.ITestConstants;
|
||||||
import org.eclipse.cdt.tests.dsf.gdb.tests.MIDisassemblyTest;
|
import org.eclipse.cdt.tests.dsf.gdb.tests.MIDisassemblyTest;
|
||||||
import org.junit.BeforeClass;
|
import org.junit.BeforeClass;
|
||||||
import org.junit.runner.RunWith;
|
import org.junit.runner.RunWith;
|
||||||
|
@ -21,6 +22,6 @@ import org.junit.runner.RunWith;
|
||||||
public class MIDisassemblyTest_6_6 extends MIDisassemblyTest {
|
public class MIDisassemblyTest_6_6 extends MIDisassemblyTest {
|
||||||
@BeforeClass
|
@BeforeClass
|
||||||
public static void beforeClassMethod_6_6() {
|
public static void beforeClassMethod_6_6() {
|
||||||
setGdbProgramNamesLaunchAttributes("6.6");
|
setGdbProgramNamesLaunchAttributes(ITestConstants.SUFFIX_GDB_6_6);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_6_6;
|
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.framework.BackgroundRunner;
|
||||||
|
import org.eclipse.cdt.tests.dsf.gdb.tests.ITestConstants;
|
||||||
import org.eclipse.cdt.tests.dsf.gdb.tests.MIExpressionsTest;
|
import org.eclipse.cdt.tests.dsf.gdb.tests.MIExpressionsTest;
|
||||||
import org.junit.BeforeClass;
|
import org.junit.BeforeClass;
|
||||||
import org.junit.Ignore;
|
import org.junit.Ignore;
|
||||||
|
@ -21,7 +22,7 @@ import org.junit.runner.RunWith;
|
||||||
public class MIExpressionsTest_6_6 extends MIExpressionsTest {
|
public class MIExpressionsTest_6_6 extends MIExpressionsTest {
|
||||||
@BeforeClass
|
@BeforeClass
|
||||||
public static void beforeClassMethod_6_6() {
|
public static void beforeClassMethod_6_6() {
|
||||||
setGdbProgramNamesLaunchAttributes("6.6");
|
setGdbProgramNamesLaunchAttributes(ITestConstants.SUFFIX_GDB_6_6);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_6_6;
|
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.framework.BackgroundRunner;
|
||||||
|
import org.eclipse.cdt.tests.dsf.gdb.tests.ITestConstants;
|
||||||
import org.eclipse.cdt.tests.dsf.gdb.tests.MIMemoryTest;
|
import org.eclipse.cdt.tests.dsf.gdb.tests.MIMemoryTest;
|
||||||
import org.junit.BeforeClass;
|
import org.junit.BeforeClass;
|
||||||
import org.junit.runner.RunWith;
|
import org.junit.runner.RunWith;
|
||||||
|
@ -19,6 +20,6 @@ import org.junit.runner.RunWith;
|
||||||
public class MIMemoryTest_6_6 extends MIMemoryTest {
|
public class MIMemoryTest_6_6 extends MIMemoryTest {
|
||||||
@BeforeClass
|
@BeforeClass
|
||||||
public static void beforeClassMethod_6_6() {
|
public static void beforeClassMethod_6_6() {
|
||||||
setGdbProgramNamesLaunchAttributes("6.6");
|
setGdbProgramNamesLaunchAttributes(ITestConstants.SUFFIX_GDB_6_6);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_6_6;
|
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.framework.BackgroundRunner;
|
||||||
|
import org.eclipse.cdt.tests.dsf.gdb.tests.ITestConstants;
|
||||||
import org.eclipse.cdt.tests.dsf.gdb.tests.MIRegistersTest;
|
import org.eclipse.cdt.tests.dsf.gdb.tests.MIRegistersTest;
|
||||||
import org.junit.BeforeClass;
|
import org.junit.BeforeClass;
|
||||||
import org.junit.runner.RunWith;
|
import org.junit.runner.RunWith;
|
||||||
|
@ -19,6 +20,6 @@ import org.junit.runner.RunWith;
|
||||||
public class MIRegistersTest_6_6 extends MIRegistersTest {
|
public class MIRegistersTest_6_6 extends MIRegistersTest {
|
||||||
@BeforeClass
|
@BeforeClass
|
||||||
public static void beforeClassMethod_6_6() {
|
public static void beforeClassMethod_6_6() {
|
||||||
setGdbProgramNamesLaunchAttributes("6.6");
|
setGdbProgramNamesLaunchAttributes(ITestConstants.SUFFIX_GDB_6_6);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,6 +12,7 @@ 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.framework.BackgroundRunner;
|
||||||
|
import org.eclipse.cdt.tests.dsf.gdb.tests.ITestConstants;
|
||||||
import org.eclipse.cdt.tests.dsf.gdb.tests.MIRunControlTest;
|
import org.eclipse.cdt.tests.dsf.gdb.tests.MIRunControlTest;
|
||||||
import org.junit.BeforeClass;
|
import org.junit.BeforeClass;
|
||||||
import org.junit.runner.RunWith;
|
import org.junit.runner.RunWith;
|
||||||
|
@ -20,6 +21,6 @@ import org.junit.runner.RunWith;
|
||||||
public class MIRunControlTest_6_6 extends MIRunControlTest {
|
public class MIRunControlTest_6_6 extends MIRunControlTest {
|
||||||
@BeforeClass
|
@BeforeClass
|
||||||
public static void beforeClassMethod_6_6() {
|
public static void beforeClassMethod_6_6() {
|
||||||
setGdbProgramNamesLaunchAttributes("6.6");
|
setGdbProgramNamesLaunchAttributes(ITestConstants.SUFFIX_GDB_6_6);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,6 +12,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.framework.BackgroundRunner;
|
||||||
import org.eclipse.cdt.tests.dsf.gdb.tests.GDBProcessesTest;
|
import org.eclipse.cdt.tests.dsf.gdb.tests.GDBProcessesTest;
|
||||||
|
import org.eclipse.cdt.tests.dsf.gdb.tests.ITestConstants;
|
||||||
import org.junit.BeforeClass;
|
import org.junit.BeforeClass;
|
||||||
import org.junit.runner.RunWith;
|
import org.junit.runner.RunWith;
|
||||||
|
|
||||||
|
@ -19,6 +20,6 @@ import org.junit.runner.RunWith;
|
||||||
public class GDBProcessesTest_6_7 extends GDBProcessesTest {
|
public class GDBProcessesTest_6_7 extends GDBProcessesTest {
|
||||||
@BeforeClass
|
@BeforeClass
|
||||||
public static void beforeClassMethod_6_7() {
|
public static void beforeClassMethod_6_7() {
|
||||||
setGdbProgramNamesLaunchAttributes("6.7");
|
setGdbProgramNamesLaunchAttributes(ITestConstants.SUFFIX_GDB_6_7);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_6_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.framework.BackgroundRunner;
|
||||||
|
import org.eclipse.cdt.tests.dsf.gdb.tests.ITestConstants;
|
||||||
import org.eclipse.cdt.tests.dsf.gdb.tests.MIBreakpointsTest;
|
import org.eclipse.cdt.tests.dsf.gdb.tests.MIBreakpointsTest;
|
||||||
import org.junit.BeforeClass;
|
import org.junit.BeforeClass;
|
||||||
import org.junit.runner.RunWith;
|
import org.junit.runner.RunWith;
|
||||||
|
@ -19,6 +20,6 @@ import org.junit.runner.RunWith;
|
||||||
public class MIBreakpointsTest_6_7 extends MIBreakpointsTest {
|
public class MIBreakpointsTest_6_7 extends MIBreakpointsTest {
|
||||||
@BeforeClass
|
@BeforeClass
|
||||||
public static void beforeClassMethod_6_7() {
|
public static void beforeClassMethod_6_7() {
|
||||||
setGdbProgramNamesLaunchAttributes("6.7");
|
setGdbProgramNamesLaunchAttributes(ITestConstants.SUFFIX_GDB_6_7);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_6_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.framework.BackgroundRunner;
|
||||||
|
import org.eclipse.cdt.tests.dsf.gdb.tests.ITestConstants;
|
||||||
import org.eclipse.cdt.tests.dsf.gdb.tests.MICatchpointsTest;
|
import org.eclipse.cdt.tests.dsf.gdb.tests.MICatchpointsTest;
|
||||||
import org.junit.BeforeClass;
|
import org.junit.BeforeClass;
|
||||||
import org.junit.runner.RunWith;
|
import org.junit.runner.RunWith;
|
||||||
|
@ -19,6 +20,6 @@ import org.junit.runner.RunWith;
|
||||||
public class MICatchpointsTest_6_7 extends MICatchpointsTest {
|
public class MICatchpointsTest_6_7 extends MICatchpointsTest {
|
||||||
@BeforeClass
|
@BeforeClass
|
||||||
public static void beforeClassMethod_6_7() {
|
public static void beforeClassMethod_6_7() {
|
||||||
setGdbProgramNamesLaunchAttributes("6.7");
|
setGdbProgramNamesLaunchAttributes(ITestConstants.SUFFIX_GDB_6_7);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,6 +12,7 @@
|
||||||
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_6_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.framework.BackgroundRunner;
|
||||||
|
import org.eclipse.cdt.tests.dsf.gdb.tests.ITestConstants;
|
||||||
import org.eclipse.cdt.tests.dsf.gdb.tests.MIDisassemblyTest;
|
import org.eclipse.cdt.tests.dsf.gdb.tests.MIDisassemblyTest;
|
||||||
import org.junit.BeforeClass;
|
import org.junit.BeforeClass;
|
||||||
import org.junit.runner.RunWith;
|
import org.junit.runner.RunWith;
|
||||||
|
@ -21,6 +22,6 @@ import org.junit.runner.RunWith;
|
||||||
public class MIDisassemblyTest_6_7 extends MIDisassemblyTest {
|
public class MIDisassemblyTest_6_7 extends MIDisassemblyTest {
|
||||||
@BeforeClass
|
@BeforeClass
|
||||||
public static void beforeClassMethod_6_7() {
|
public static void beforeClassMethod_6_7() {
|
||||||
setGdbProgramNamesLaunchAttributes("6.7");
|
setGdbProgramNamesLaunchAttributes(ITestConstants.SUFFIX_GDB_6_7);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_6_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.framework.BackgroundRunner;
|
||||||
|
import org.eclipse.cdt.tests.dsf.gdb.tests.ITestConstants;
|
||||||
import org.eclipse.cdt.tests.dsf.gdb.tests.MIExpressionsTest;
|
import org.eclipse.cdt.tests.dsf.gdb.tests.MIExpressionsTest;
|
||||||
import org.junit.BeforeClass;
|
import org.junit.BeforeClass;
|
||||||
import org.junit.Ignore;
|
import org.junit.Ignore;
|
||||||
|
@ -21,7 +22,7 @@ import org.junit.runner.RunWith;
|
||||||
public class MIExpressionsTest_6_7 extends MIExpressionsTest {
|
public class MIExpressionsTest_6_7 extends MIExpressionsTest {
|
||||||
@BeforeClass
|
@BeforeClass
|
||||||
public static void beforeClassMethod_6_7() {
|
public static void beforeClassMethod_6_7() {
|
||||||
setGdbProgramNamesLaunchAttributes("6.7");
|
setGdbProgramNamesLaunchAttributes(ITestConstants.SUFFIX_GDB_6_7);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_6_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.framework.BackgroundRunner;
|
||||||
|
import org.eclipse.cdt.tests.dsf.gdb.tests.ITestConstants;
|
||||||
import org.eclipse.cdt.tests.dsf.gdb.tests.MIMemoryTest;
|
import org.eclipse.cdt.tests.dsf.gdb.tests.MIMemoryTest;
|
||||||
import org.junit.BeforeClass;
|
import org.junit.BeforeClass;
|
||||||
import org.junit.runner.RunWith;
|
import org.junit.runner.RunWith;
|
||||||
|
@ -19,6 +20,6 @@ import org.junit.runner.RunWith;
|
||||||
public class MIMemoryTest_6_7 extends MIMemoryTest {
|
public class MIMemoryTest_6_7 extends MIMemoryTest {
|
||||||
@BeforeClass
|
@BeforeClass
|
||||||
public static void beforeClassMethod_6_7() {
|
public static void beforeClassMethod_6_7() {
|
||||||
setGdbProgramNamesLaunchAttributes("6.7");
|
setGdbProgramNamesLaunchAttributes(ITestConstants.SUFFIX_GDB_6_7);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_6_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.framework.BackgroundRunner;
|
||||||
|
import org.eclipse.cdt.tests.dsf.gdb.tests.ITestConstants;
|
||||||
import org.eclipse.cdt.tests.dsf.gdb.tests.MIRegistersTest;
|
import org.eclipse.cdt.tests.dsf.gdb.tests.MIRegistersTest;
|
||||||
import org.junit.BeforeClass;
|
import org.junit.BeforeClass;
|
||||||
import org.junit.runner.RunWith;
|
import org.junit.runner.RunWith;
|
||||||
|
@ -19,6 +20,6 @@ import org.junit.runner.RunWith;
|
||||||
public class MIRegistersTest_6_7 extends MIRegistersTest {
|
public class MIRegistersTest_6_7 extends MIRegistersTest {
|
||||||
@BeforeClass
|
@BeforeClass
|
||||||
public static void beforeClassMethod_6_7() {
|
public static void beforeClassMethod_6_7() {
|
||||||
setGdbProgramNamesLaunchAttributes("6.7");
|
setGdbProgramNamesLaunchAttributes(ITestConstants.SUFFIX_GDB_6_7);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,6 +12,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.framework.BackgroundRunner;
|
||||||
|
import org.eclipse.cdt.tests.dsf.gdb.tests.ITestConstants;
|
||||||
import org.eclipse.cdt.tests.dsf.gdb.tests.MIRunControlTest;
|
import org.eclipse.cdt.tests.dsf.gdb.tests.MIRunControlTest;
|
||||||
import org.junit.BeforeClass;
|
import org.junit.BeforeClass;
|
||||||
import org.junit.runner.RunWith;
|
import org.junit.runner.RunWith;
|
||||||
|
@ -20,6 +21,6 @@ import org.junit.runner.RunWith;
|
||||||
public class MIRunControlTest_6_7 extends MIRunControlTest {
|
public class MIRunControlTest_6_7 extends MIRunControlTest {
|
||||||
@BeforeClass
|
@BeforeClass
|
||||||
public static void beforeClassMethod_6_7() {
|
public static void beforeClassMethod_6_7() {
|
||||||
setGdbProgramNamesLaunchAttributes("6.7");
|
setGdbProgramNamesLaunchAttributes(ITestConstants.SUFFIX_GDB_6_7);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,6 +12,7 @@ package org.eclipse.cdt.tests.dsf.gdb.tests.tests_6_8;
|
||||||
|
|
||||||
import org.eclipse.cdt.tests.dsf.gdb.framework.BackgroundRunner;
|
import org.eclipse.cdt.tests.dsf.gdb.framework.BackgroundRunner;
|
||||||
import org.eclipse.cdt.tests.dsf.gdb.tests.GDBProcessesTest;
|
import org.eclipse.cdt.tests.dsf.gdb.tests.GDBProcessesTest;
|
||||||
|
import org.eclipse.cdt.tests.dsf.gdb.tests.ITestConstants;
|
||||||
import org.junit.BeforeClass;
|
import org.junit.BeforeClass;
|
||||||
import org.junit.runner.RunWith;
|
import org.junit.runner.RunWith;
|
||||||
|
|
||||||
|
@ -19,6 +20,6 @@ import org.junit.runner.RunWith;
|
||||||
public class GDBProcessesTest_6_8 extends GDBProcessesTest {
|
public class GDBProcessesTest_6_8 extends GDBProcessesTest {
|
||||||
@BeforeClass
|
@BeforeClass
|
||||||
public static void beforeClassMethod_6_8() {
|
public static void beforeClassMethod_6_8() {
|
||||||
setGdbProgramNamesLaunchAttributes("6.8");
|
setGdbProgramNamesLaunchAttributes(ITestConstants.SUFFIX_GDB_6_8);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_6_8;
|
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_6_8;
|
||||||
|
|
||||||
import org.eclipse.cdt.tests.dsf.gdb.framework.BackgroundRunner;
|
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.eclipse.cdt.tests.dsf.gdb.tests.MIBreakpointsTest;
|
||||||
import org.junit.BeforeClass;
|
import org.junit.BeforeClass;
|
||||||
import org.junit.Ignore;
|
import org.junit.Ignore;
|
||||||
|
@ -22,7 +23,7 @@ public class MIBreakpointsTest_6_8 extends MIBreakpointsTest {
|
||||||
|
|
||||||
@BeforeClass
|
@BeforeClass
|
||||||
public static void beforeClassMethod_6_8() {
|
public static void beforeClassMethod_6_8() {
|
||||||
setGdbProgramNamesLaunchAttributes("6.8");
|
setGdbProgramNamesLaunchAttributes(ITestConstants.SUFFIX_GDB_6_8);
|
||||||
}
|
}
|
||||||
@Override
|
@Override
|
||||||
@Ignore("This GDB 6.8 only has a bug which ignores watchpoint conditions")
|
@Ignore("This GDB 6.8 only has a bug which ignores watchpoint conditions")
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_6_8;
|
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_6_8;
|
||||||
|
|
||||||
import org.eclipse.cdt.tests.dsf.gdb.framework.BackgroundRunner;
|
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.MICatchpointsTest;
|
import org.eclipse.cdt.tests.dsf.gdb.tests.MICatchpointsTest;
|
||||||
import org.junit.BeforeClass;
|
import org.junit.BeforeClass;
|
||||||
import org.junit.runner.RunWith;
|
import org.junit.runner.RunWith;
|
||||||
|
@ -20,6 +21,6 @@ public class MICatchpointsTest_6_8 extends MICatchpointsTest {
|
||||||
|
|
||||||
@BeforeClass
|
@BeforeClass
|
||||||
public static void beforeClassMethod_6_8() {
|
public static void beforeClassMethod_6_8() {
|
||||||
setGdbProgramNamesLaunchAttributes("6.8");
|
setGdbProgramNamesLaunchAttributes(ITestConstants.SUFFIX_GDB_6_8);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,6 +12,7 @@
|
||||||
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_6_8;
|
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_6_8;
|
||||||
|
|
||||||
import org.eclipse.cdt.tests.dsf.gdb.framework.BackgroundRunner;
|
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.MIDisassemblyTest;
|
import org.eclipse.cdt.tests.dsf.gdb.tests.MIDisassemblyTest;
|
||||||
import org.junit.BeforeClass;
|
import org.junit.BeforeClass;
|
||||||
import org.junit.runner.RunWith;
|
import org.junit.runner.RunWith;
|
||||||
|
@ -21,6 +22,6 @@ import org.junit.runner.RunWith;
|
||||||
public class MIDisassemblyTest_6_8 extends MIDisassemblyTest {
|
public class MIDisassemblyTest_6_8 extends MIDisassemblyTest {
|
||||||
@BeforeClass
|
@BeforeClass
|
||||||
public static void beforeClassMethod_6_8() {
|
public static void beforeClassMethod_6_8() {
|
||||||
setGdbProgramNamesLaunchAttributes("6.8");
|
setGdbProgramNamesLaunchAttributes(ITestConstants.SUFFIX_GDB_6_8);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_6_8;
|
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_6_8;
|
||||||
|
|
||||||
import org.eclipse.cdt.tests.dsf.gdb.framework.BackgroundRunner;
|
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.MIExpressionsTest;
|
import org.eclipse.cdt.tests.dsf.gdb.tests.MIExpressionsTest;
|
||||||
import org.junit.BeforeClass;
|
import org.junit.BeforeClass;
|
||||||
import org.junit.runner.RunWith;
|
import org.junit.runner.RunWith;
|
||||||
|
@ -19,6 +20,6 @@ import org.junit.runner.RunWith;
|
||||||
public class MIExpressionsTest_6_8 extends MIExpressionsTest {
|
public class MIExpressionsTest_6_8 extends MIExpressionsTest {
|
||||||
@BeforeClass
|
@BeforeClass
|
||||||
public static void beforeClassMethod_6_8() {
|
public static void beforeClassMethod_6_8() {
|
||||||
setGdbProgramNamesLaunchAttributes("6.8");
|
setGdbProgramNamesLaunchAttributes(ITestConstants.SUFFIX_GDB_6_8);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_6_8;
|
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_6_8;
|
||||||
|
|
||||||
import org.eclipse.cdt.tests.dsf.gdb.framework.BackgroundRunner;
|
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.MIMemoryTest;
|
import org.eclipse.cdt.tests.dsf.gdb.tests.MIMemoryTest;
|
||||||
import org.junit.BeforeClass;
|
import org.junit.BeforeClass;
|
||||||
import org.junit.runner.RunWith;
|
import org.junit.runner.RunWith;
|
||||||
|
@ -19,6 +20,6 @@ import org.junit.runner.RunWith;
|
||||||
public class MIMemoryTest_6_8 extends MIMemoryTest {
|
public class MIMemoryTest_6_8 extends MIMemoryTest {
|
||||||
@BeforeClass
|
@BeforeClass
|
||||||
public static void beforeClassMethod_6_8() {
|
public static void beforeClassMethod_6_8() {
|
||||||
setGdbProgramNamesLaunchAttributes("6.8");
|
setGdbProgramNamesLaunchAttributes(ITestConstants.SUFFIX_GDB_6_8);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_6_8;
|
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_6_8;
|
||||||
|
|
||||||
import org.eclipse.cdt.tests.dsf.gdb.framework.BackgroundRunner;
|
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.MIRegistersTest;
|
import org.eclipse.cdt.tests.dsf.gdb.tests.MIRegistersTest;
|
||||||
import org.junit.BeforeClass;
|
import org.junit.BeforeClass;
|
||||||
import org.junit.runner.RunWith;
|
import org.junit.runner.RunWith;
|
||||||
|
@ -19,6 +20,6 @@ import org.junit.runner.RunWith;
|
||||||
public class MIRegistersTest_6_8 extends MIRegistersTest {
|
public class MIRegistersTest_6_8 extends MIRegistersTest {
|
||||||
@BeforeClass
|
@BeforeClass
|
||||||
public static void beforeClassMethod_6_8() {
|
public static void beforeClassMethod_6_8() {
|
||||||
setGdbProgramNamesLaunchAttributes("6.8");
|
setGdbProgramNamesLaunchAttributes(ITestConstants.SUFFIX_GDB_6_8);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,6 +12,7 @@ package org.eclipse.cdt.tests.dsf.gdb.tests.tests_6_8;
|
||||||
|
|
||||||
|
|
||||||
import org.eclipse.cdt.tests.dsf.gdb.framework.BackgroundRunner;
|
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.MIRunControlTest;
|
import org.eclipse.cdt.tests.dsf.gdb.tests.MIRunControlTest;
|
||||||
import org.junit.BeforeClass;
|
import org.junit.BeforeClass;
|
||||||
import org.junit.runner.RunWith;
|
import org.junit.runner.RunWith;
|
||||||
|
@ -20,6 +21,6 @@ import org.junit.runner.RunWith;
|
||||||
public class MIRunControlTest_6_8 extends MIRunControlTest {
|
public class MIRunControlTest_6_8 extends MIRunControlTest {
|
||||||
@BeforeClass
|
@BeforeClass
|
||||||
public static void beforeClassMethod_6_8() {
|
public static void beforeClassMethod_6_8() {
|
||||||
setGdbProgramNamesLaunchAttributes("6.8");
|
setGdbProgramNamesLaunchAttributes(ITestConstants.SUFFIX_GDB_6_8);
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -12,6 +12,7 @@ package org.eclipse.cdt.tests.dsf.gdb.tests.tests_7_0;
|
||||||
|
|
||||||
import org.eclipse.cdt.tests.dsf.gdb.framework.BackgroundRunner;
|
import org.eclipse.cdt.tests.dsf.gdb.framework.BackgroundRunner;
|
||||||
import org.eclipse.cdt.tests.dsf.gdb.tests.GDBProcessesTest;
|
import org.eclipse.cdt.tests.dsf.gdb.tests.GDBProcessesTest;
|
||||||
|
import org.eclipse.cdt.tests.dsf.gdb.tests.ITestConstants;
|
||||||
import org.junit.BeforeClass;
|
import org.junit.BeforeClass;
|
||||||
import org.junit.runner.RunWith;
|
import org.junit.runner.RunWith;
|
||||||
|
|
||||||
|
@ -19,6 +20,6 @@ import org.junit.runner.RunWith;
|
||||||
public class GDBProcessesTest_7_0 extends GDBProcessesTest {
|
public class GDBProcessesTest_7_0 extends GDBProcessesTest {
|
||||||
@BeforeClass
|
@BeforeClass
|
||||||
public static void beforeClassMethod_7_0() {
|
public static void beforeClassMethod_7_0() {
|
||||||
setGdbProgramNamesLaunchAttributes("7.0");
|
setGdbProgramNamesLaunchAttributes(ITestConstants.SUFFIX_GDB_7_0);
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -38,6 +38,7 @@ import org.eclipse.cdt.tests.dsf.gdb.framework.AsyncCompletionWaitor;
|
||||||
import org.eclipse.cdt.tests.dsf.gdb.framework.BackgroundRunner;
|
import org.eclipse.cdt.tests.dsf.gdb.framework.BackgroundRunner;
|
||||||
import org.eclipse.cdt.tests.dsf.gdb.framework.BaseTestCase;
|
import org.eclipse.cdt.tests.dsf.gdb.framework.BaseTestCase;
|
||||||
import org.eclipse.cdt.tests.dsf.gdb.launching.TestsPlugin;
|
import org.eclipse.cdt.tests.dsf.gdb.launching.TestsPlugin;
|
||||||
|
import org.eclipse.cdt.tests.dsf.gdb.tests.ITestConstants;
|
||||||
import org.junit.After;
|
import org.junit.After;
|
||||||
import org.junit.Before;
|
import org.junit.Before;
|
||||||
import org.junit.BeforeClass;
|
import org.junit.BeforeClass;
|
||||||
|
@ -48,7 +49,7 @@ import org.junit.runner.RunWith;
|
||||||
public class GDBRemoteTracepointsTest_7_0 extends BaseTestCase {
|
public class GDBRemoteTracepointsTest_7_0 extends BaseTestCase {
|
||||||
@BeforeClass
|
@BeforeClass
|
||||||
public static void beforeClassMethod_7_0() {
|
public static void beforeClassMethod_7_0() {
|
||||||
setGdbProgramNamesLaunchAttributes("7.0");
|
setGdbProgramNamesLaunchAttributes(ITestConstants.SUFFIX_GDB_7_0);
|
||||||
|
|
||||||
setLaunchAttribute(ICDTLaunchConfigurationConstants.ATTR_PROGRAM_NAME, "data/launch/bin/TracepointTestApp.exe");
|
setLaunchAttribute(ICDTLaunchConfigurationConstants.ATTR_PROGRAM_NAME, "data/launch/bin/TracepointTestApp.exe");
|
||||||
|
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_7_0;
|
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_7_0;
|
||||||
|
|
||||||
import org.eclipse.cdt.tests.dsf.gdb.framework.BackgroundRunner;
|
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.eclipse.cdt.tests.dsf.gdb.tests.MIBreakpointsTest;
|
||||||
import org.junit.BeforeClass;
|
import org.junit.BeforeClass;
|
||||||
import org.junit.runner.RunWith;
|
import org.junit.runner.RunWith;
|
||||||
|
@ -19,6 +20,6 @@ import org.junit.runner.RunWith;
|
||||||
public class MIBreakpointsTest_7_0 extends MIBreakpointsTest {
|
public class MIBreakpointsTest_7_0 extends MIBreakpointsTest {
|
||||||
@BeforeClass
|
@BeforeClass
|
||||||
public static void beforeClassMethod_7_0() {
|
public static void beforeClassMethod_7_0() {
|
||||||
setGdbProgramNamesLaunchAttributes("7.0");
|
setGdbProgramNamesLaunchAttributes(ITestConstants.SUFFIX_GDB_7_0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_7_0;
|
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_7_0;
|
||||||
|
|
||||||
import org.eclipse.cdt.tests.dsf.gdb.framework.BackgroundRunner;
|
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.MICatchpointsTest;
|
import org.eclipse.cdt.tests.dsf.gdb.tests.MICatchpointsTest;
|
||||||
import org.junit.BeforeClass;
|
import org.junit.BeforeClass;
|
||||||
import org.junit.runner.RunWith;
|
import org.junit.runner.RunWith;
|
||||||
|
@ -19,6 +20,6 @@ import org.junit.runner.RunWith;
|
||||||
public class MICatchpointsTest_7_0 extends MICatchpointsTest {
|
public class MICatchpointsTest_7_0 extends MICatchpointsTest {
|
||||||
@BeforeClass
|
@BeforeClass
|
||||||
public static void beforeClassMethod_7_0() {
|
public static void beforeClassMethod_7_0() {
|
||||||
setGdbProgramNamesLaunchAttributes("7.0");
|
setGdbProgramNamesLaunchAttributes(ITestConstants.SUFFIX_GDB_7_0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,6 +12,7 @@
|
||||||
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_7_0;
|
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_7_0;
|
||||||
|
|
||||||
import org.eclipse.cdt.tests.dsf.gdb.framework.BackgroundRunner;
|
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.MIDisassemblyTest;
|
import org.eclipse.cdt.tests.dsf.gdb.tests.MIDisassemblyTest;
|
||||||
import org.junit.BeforeClass;
|
import org.junit.BeforeClass;
|
||||||
import org.junit.runner.RunWith;
|
import org.junit.runner.RunWith;
|
||||||
|
@ -21,6 +22,6 @@ import org.junit.runner.RunWith;
|
||||||
public class MIDisassemblyTest_7_0 extends MIDisassemblyTest {
|
public class MIDisassemblyTest_7_0 extends MIDisassemblyTest {
|
||||||
@BeforeClass
|
@BeforeClass
|
||||||
public static void beforeClassMethod_7_0() {
|
public static void beforeClassMethod_7_0() {
|
||||||
setGdbProgramNamesLaunchAttributes("7.0");
|
setGdbProgramNamesLaunchAttributes(ITestConstants.SUFFIX_GDB_7_0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_7_0;
|
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_7_0;
|
||||||
|
|
||||||
import org.eclipse.cdt.tests.dsf.gdb.framework.BackgroundRunner;
|
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.MIExpressionsTest;
|
import org.eclipse.cdt.tests.dsf.gdb.tests.MIExpressionsTest;
|
||||||
import org.junit.BeforeClass;
|
import org.junit.BeforeClass;
|
||||||
import org.junit.runner.RunWith;
|
import org.junit.runner.RunWith;
|
||||||
|
@ -19,6 +20,6 @@ import org.junit.runner.RunWith;
|
||||||
public class MIExpressionsTest_7_0 extends MIExpressionsTest {
|
public class MIExpressionsTest_7_0 extends MIExpressionsTest {
|
||||||
@BeforeClass
|
@BeforeClass
|
||||||
public static void beforeClassMethod_7_0() {
|
public static void beforeClassMethod_7_0() {
|
||||||
setGdbProgramNamesLaunchAttributes("7.0");
|
setGdbProgramNamesLaunchAttributes(ITestConstants.SUFFIX_GDB_7_0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_7_0;
|
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_7_0;
|
||||||
|
|
||||||
import org.eclipse.cdt.tests.dsf.gdb.framework.BackgroundRunner;
|
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.MIMemoryTest;
|
import org.eclipse.cdt.tests.dsf.gdb.tests.MIMemoryTest;
|
||||||
import org.junit.BeforeClass;
|
import org.junit.BeforeClass;
|
||||||
import org.junit.runner.RunWith;
|
import org.junit.runner.RunWith;
|
||||||
|
@ -19,6 +20,6 @@ import org.junit.runner.RunWith;
|
||||||
public class MIMemoryTest_7_0 extends MIMemoryTest {
|
public class MIMemoryTest_7_0 extends MIMemoryTest {
|
||||||
@BeforeClass
|
@BeforeClass
|
||||||
public static void beforeClassMethod_7_0() {
|
public static void beforeClassMethod_7_0() {
|
||||||
setGdbProgramNamesLaunchAttributes("7.0");
|
setGdbProgramNamesLaunchAttributes(ITestConstants.SUFFIX_GDB_7_0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_7_0;
|
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_7_0;
|
||||||
|
|
||||||
import org.eclipse.cdt.tests.dsf.gdb.framework.BackgroundRunner;
|
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.MIRegistersTest;
|
import org.eclipse.cdt.tests.dsf.gdb.tests.MIRegistersTest;
|
||||||
import org.junit.BeforeClass;
|
import org.junit.BeforeClass;
|
||||||
import org.junit.runner.RunWith;
|
import org.junit.runner.RunWith;
|
||||||
|
@ -19,6 +20,6 @@ import org.junit.runner.RunWith;
|
||||||
public class MIRegistersTest_7_0 extends MIRegistersTest {
|
public class MIRegistersTest_7_0 extends MIRegistersTest {
|
||||||
@BeforeClass
|
@BeforeClass
|
||||||
public static void beforeClassMethod_7_0() {
|
public static void beforeClassMethod_7_0() {
|
||||||
setGdbProgramNamesLaunchAttributes("7.0");
|
setGdbProgramNamesLaunchAttributes(ITestConstants.SUFFIX_GDB_7_0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,6 +13,7 @@ package org.eclipse.cdt.tests.dsf.gdb.tests.tests_7_0;
|
||||||
|
|
||||||
import org.eclipse.cdt.dsf.debug.service.IRunControl.StateChangeReason;
|
import org.eclipse.cdt.dsf.debug.service.IRunControl.StateChangeReason;
|
||||||
import org.eclipse.cdt.tests.dsf.gdb.framework.BackgroundRunner;
|
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.MIRunControlTest;
|
import org.eclipse.cdt.tests.dsf.gdb.tests.MIRunControlTest;
|
||||||
import org.junit.BeforeClass;
|
import org.junit.BeforeClass;
|
||||||
import org.junit.runner.RunWith;
|
import org.junit.runner.RunWith;
|
||||||
|
@ -21,7 +22,7 @@ import org.junit.runner.RunWith;
|
||||||
public class MIRunControlTest_7_0 extends MIRunControlTest {
|
public class MIRunControlTest_7_0 extends MIRunControlTest {
|
||||||
@BeforeClass
|
@BeforeClass
|
||||||
public static void beforeClassMethod_7_0() {
|
public static void beforeClassMethod_7_0() {
|
||||||
setGdbProgramNamesLaunchAttributes("7.0");
|
setGdbProgramNamesLaunchAttributes(ITestConstants.SUFFIX_GDB_7_0);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -0,0 +1,25 @@
|
||||||
|
/*******************************************************************************
|
||||||
|
* Copyright (c) 2010 Ericsson and others.
|
||||||
|
* All rights reserved. This program and the accompanying materials
|
||||||
|
* are made available under the terms of the Eclipse Public License v1.0
|
||||||
|
* which accompanies this distribution, and is available at
|
||||||
|
* http://www.eclipse.org/legal/epl-v10.html
|
||||||
|
*
|
||||||
|
* Contributors:
|
||||||
|
* Ericsson AB - Initial implementation of Test cases
|
||||||
|
*******************************************************************************/
|
||||||
|
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_7_1;
|
||||||
|
|
||||||
|
import org.eclipse.cdt.tests.dsf.gdb.framework.BackgroundRunner;
|
||||||
|
import org.eclipse.cdt.tests.dsf.gdb.tests.GDBProcessesTest;
|
||||||
|
import org.eclipse.cdt.tests.dsf.gdb.tests.ITestConstants;
|
||||||
|
import org.junit.BeforeClass;
|
||||||
|
import org.junit.runner.RunWith;
|
||||||
|
|
||||||
|
@RunWith(BackgroundRunner.class)
|
||||||
|
public class GDBProcessesTest_7_1 extends GDBProcessesTest {
|
||||||
|
@BeforeClass
|
||||||
|
public static void beforeClassMethod_7_1() {
|
||||||
|
setGdbProgramNamesLaunchAttributes(ITestConstants.SUFFIX_GDB_7_1);
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,26 @@
|
||||||
|
/*******************************************************************************
|
||||||
|
* Copyright (c) 2010 Ericsson and others.
|
||||||
|
* All rights reserved. This program and the accompanying materials
|
||||||
|
* are made available under the terms of the Eclipse Public License v1.0
|
||||||
|
* which accompanies this distribution, and is available at
|
||||||
|
* http://www.eclipse.org/legal/epl-v10.html
|
||||||
|
*
|
||||||
|
* Contributors:
|
||||||
|
* Ericsson - Initial implementation of Test cases
|
||||||
|
*******************************************************************************/
|
||||||
|
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_7_1;
|
||||||
|
|
||||||
|
|
||||||
|
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_7_0.GDBRemoteTracepointsTest_7_0;
|
||||||
|
import org.junit.BeforeClass;
|
||||||
|
import org.junit.runner.RunWith;
|
||||||
|
|
||||||
|
@RunWith(BackgroundRunner.class)
|
||||||
|
public class GDBRemoteTracepointsTest_7_1 extends GDBRemoteTracepointsTest_7_0 {
|
||||||
|
@BeforeClass
|
||||||
|
public static void beforeClassMethod_7_1() {
|
||||||
|
setGdbProgramNamesLaunchAttributes(ITestConstants.SUFFIX_GDB_7_1);
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,25 @@
|
||||||
|
/*******************************************************************************
|
||||||
|
* Copyright (c) 2010 Ericsson and others.
|
||||||
|
* All rights reserved. This program and the accompanying materials
|
||||||
|
* are made available under the terms of the Eclipse Public License v1.0
|
||||||
|
* which accompanies this distribution, and is available at
|
||||||
|
* http://www.eclipse.org/legal/epl-v10.html
|
||||||
|
*
|
||||||
|
* Contributors:
|
||||||
|
* Ericsson - Initial Implementation
|
||||||
|
*******************************************************************************/
|
||||||
|
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_7_1;
|
||||||
|
|
||||||
|
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.BeforeClass;
|
||||||
|
import org.junit.runner.RunWith;
|
||||||
|
|
||||||
|
@RunWith(BackgroundRunner.class)
|
||||||
|
public class MIBreakpointsTest_7_1 extends MIBreakpointsTest {
|
||||||
|
@BeforeClass
|
||||||
|
public static void beforeClassMethod_7_1() {
|
||||||
|
setGdbProgramNamesLaunchAttributes(ITestConstants.SUFFIX_GDB_7_1);
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,25 @@
|
||||||
|
/*******************************************************************************
|
||||||
|
* Copyright (c) 2010 Ericsson and others.
|
||||||
|
* All rights reserved. This program and the accompanying materials
|
||||||
|
* are made available under the terms of the Eclipse Public License v1.0
|
||||||
|
* which accompanies this distribution, and is available at
|
||||||
|
* http://www.eclipse.org/legal/epl-v10.html
|
||||||
|
*
|
||||||
|
* Contributors:
|
||||||
|
* Ericsson - Initial Implementation
|
||||||
|
*******************************************************************************/
|
||||||
|
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_7_1;
|
||||||
|
|
||||||
|
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.MICatchpointsTest;
|
||||||
|
import org.junit.BeforeClass;
|
||||||
|
import org.junit.runner.RunWith;
|
||||||
|
|
||||||
|
@RunWith(BackgroundRunner.class)
|
||||||
|
public class MICatchpointsTest_7_1 extends MICatchpointsTest {
|
||||||
|
@BeforeClass
|
||||||
|
public static void beforeClassMethod_7_1() {
|
||||||
|
setGdbProgramNamesLaunchAttributes(ITestConstants.SUFFIX_GDB_7_1);
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,27 @@
|
||||||
|
/*******************************************************************************
|
||||||
|
* Copyright (c) 2010 Ericsson and others.
|
||||||
|
* All rights reserved. This program and the accompanying materials
|
||||||
|
* are made available under the terms of the Eclipse Public License v1.0
|
||||||
|
* which accompanies this distribution, and is available at
|
||||||
|
* http://www.eclipse.org/legal/epl-v10.html
|
||||||
|
*
|
||||||
|
* Contributors:
|
||||||
|
* Ericsson - Initial Implementation
|
||||||
|
*******************************************************************************/
|
||||||
|
|
||||||
|
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_7_1;
|
||||||
|
|
||||||
|
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.MIDisassemblyTest;
|
||||||
|
import org.junit.BeforeClass;
|
||||||
|
import org.junit.runner.RunWith;
|
||||||
|
|
||||||
|
|
||||||
|
@RunWith(BackgroundRunner.class)
|
||||||
|
public class MIDisassemblyTest_7_1 extends MIDisassemblyTest {
|
||||||
|
@BeforeClass
|
||||||
|
public static void beforeClassMethod_7_1() {
|
||||||
|
setGdbProgramNamesLaunchAttributes(ITestConstants.SUFFIX_GDB_7_1);
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,25 @@
|
||||||
|
/*******************************************************************************
|
||||||
|
* Copyright (c) 2010 Ericsson and others.
|
||||||
|
* All rights reserved. This program and the accompanying materials
|
||||||
|
* are made available under the terms of the Eclipse Public License v1.0
|
||||||
|
* which accompanies this distribution, and is available at
|
||||||
|
* http://www.eclipse.org/legal/epl-v10.html
|
||||||
|
*
|
||||||
|
* Contributors:
|
||||||
|
* Ericsson - Initial Implementation
|
||||||
|
*******************************************************************************/
|
||||||
|
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_7_1;
|
||||||
|
|
||||||
|
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.MIExpressionsTest;
|
||||||
|
import org.junit.BeforeClass;
|
||||||
|
import org.junit.runner.RunWith;
|
||||||
|
|
||||||
|
@RunWith(BackgroundRunner.class)
|
||||||
|
public class MIExpressionsTest_7_1 extends MIExpressionsTest {
|
||||||
|
@BeforeClass
|
||||||
|
public static void beforeClassMethod_7_1() {
|
||||||
|
setGdbProgramNamesLaunchAttributes(ITestConstants.SUFFIX_GDB_7_1);
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,25 @@
|
||||||
|
/*******************************************************************************
|
||||||
|
* Copyright (c) 2010 Ericsson and others.
|
||||||
|
* All rights reserved. This program and the accompanying materials
|
||||||
|
* are made available under the terms of the Eclipse Public License v1.0
|
||||||
|
* which accompanies this distribution, and is available at
|
||||||
|
* http://www.eclipse.org/legal/epl-v10.html
|
||||||
|
*
|
||||||
|
* Contributors:
|
||||||
|
* Ericsson AB - Initial Implementation
|
||||||
|
*******************************************************************************/
|
||||||
|
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_7_1;
|
||||||
|
|
||||||
|
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.MIMemoryTest;
|
||||||
|
import org.junit.BeforeClass;
|
||||||
|
import org.junit.runner.RunWith;
|
||||||
|
|
||||||
|
@RunWith(BackgroundRunner.class)
|
||||||
|
public class MIMemoryTest_7_1 extends MIMemoryTest {
|
||||||
|
@BeforeClass
|
||||||
|
public static void beforeClassMethod_7_1() {
|
||||||
|
setGdbProgramNamesLaunchAttributes(ITestConstants.SUFFIX_GDB_7_1);
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,25 @@
|
||||||
|
/*******************************************************************************
|
||||||
|
* Copyright (c) 2010 Ericsson and others.
|
||||||
|
* All rights reserved. This program and the accompanying materials
|
||||||
|
* are made available under the terms of the Eclipse Public License v1.0
|
||||||
|
* which accompanies this distribution, and is available at
|
||||||
|
* http://www.eclipse.org/legal/epl-v10.html
|
||||||
|
*
|
||||||
|
* Contributors:
|
||||||
|
* Ericsson AB - Initial Implementation
|
||||||
|
*******************************************************************************/
|
||||||
|
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_7_1;
|
||||||
|
|
||||||
|
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.MIRegistersTest;
|
||||||
|
import org.junit.BeforeClass;
|
||||||
|
import org.junit.runner.RunWith;
|
||||||
|
|
||||||
|
@RunWith(BackgroundRunner.class)
|
||||||
|
public class MIRegistersTest_7_1 extends MIRegistersTest {
|
||||||
|
@BeforeClass
|
||||||
|
public static void beforeClassMethod_7_1() {
|
||||||
|
setGdbProgramNamesLaunchAttributes(ITestConstants.SUFFIX_GDB_7_1);
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,32 @@
|
||||||
|
/*******************************************************************************
|
||||||
|
* Copyright (c) 2010 Ericsson and others.
|
||||||
|
* All rights reserved. This program and the accompanying materials
|
||||||
|
* are made available under the terms of the Eclipse Public License v1.0
|
||||||
|
* which accompanies this distribution, and is available at
|
||||||
|
* http://www.eclipse.org/legal/epl-v10.html
|
||||||
|
*
|
||||||
|
* Contributors:
|
||||||
|
* Ericsson AB - Initial implementation of Test cases
|
||||||
|
*******************************************************************************/
|
||||||
|
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_7_1;
|
||||||
|
|
||||||
|
|
||||||
|
import org.eclipse.cdt.dsf.debug.service.IRunControl.StateChangeReason;
|
||||||
|
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.MIRunControlTest;
|
||||||
|
import org.junit.BeforeClass;
|
||||||
|
import org.junit.runner.RunWith;
|
||||||
|
|
||||||
|
@RunWith(BackgroundRunner.class)
|
||||||
|
public class MIRunControlTest_7_1 extends MIRunControlTest {
|
||||||
|
@BeforeClass
|
||||||
|
public static void beforeClassMethod_7_1() {
|
||||||
|
setGdbProgramNamesLaunchAttributes(ITestConstants.SUFFIX_GDB_7_1);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected StateChangeReason getExpectedMainThreadStopReason() {
|
||||||
|
return StateChangeReason.BREAKPOINT;
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,39 @@
|
||||||
|
/*******************************************************************************
|
||||||
|
* Copyright (c) 2010 Ericsson and others.
|
||||||
|
* All rights reserved. This program and the accompanying materials
|
||||||
|
* are made available under the terms of the Eclipse Public License v1.0
|
||||||
|
* which accompanies this distribution, and is available at
|
||||||
|
* http://www.eclipse.org/legal/epl-v10.html
|
||||||
|
*
|
||||||
|
* Contributors:
|
||||||
|
* Ericsson - Initial Implementation
|
||||||
|
*******************************************************************************/
|
||||||
|
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_7_1;
|
||||||
|
|
||||||
|
import org.junit.runner.RunWith;
|
||||||
|
import org.junit.runners.Suite;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This class is meant to be empty. It enables us to define
|
||||||
|
* the annotations which list all the different JUnit class we
|
||||||
|
* want to run. When creating a new test class, it should be
|
||||||
|
* added to the list below.
|
||||||
|
*
|
||||||
|
* This suite is for tests to be run with GDB 7.1
|
||||||
|
*/
|
||||||
|
|
||||||
|
@RunWith(Suite.class)
|
||||||
|
@Suite.SuiteClasses({
|
||||||
|
// We need specific name for the tests of this suite, because of bug https://bugs.eclipse.org/172256
|
||||||
|
MIRegistersTest_7_1.class,
|
||||||
|
MIRunControlTest_7_1.class,
|
||||||
|
MIExpressionsTest_7_1.class,
|
||||||
|
MIMemoryTest_7_1.class,
|
||||||
|
MIBreakpointsTest_7_1.class,
|
||||||
|
MICatchpointsTest_7_1.class,
|
||||||
|
MIDisassemblyTest_7_1.class,
|
||||||
|
GDBProcessesTest_7_1.class
|
||||||
|
/* Add your test class here */
|
||||||
|
})
|
||||||
|
|
||||||
|
public class Suite_7_1 {}
|
|
@ -0,0 +1,50 @@
|
||||||
|
/*******************************************************************************
|
||||||
|
* Copyright (c) 2010 Ericsson and others.
|
||||||
|
* All rights reserved. This program and the accompanying materials
|
||||||
|
* are made available under the terms of the Eclipse Public License v1.0
|
||||||
|
* which accompanies this distribution, and is available at
|
||||||
|
* http://www.eclipse.org/legal/epl-v10.html
|
||||||
|
*
|
||||||
|
* Contributors:
|
||||||
|
* Ericsson - Initial Implementation
|
||||||
|
*******************************************************************************/
|
||||||
|
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_7_1;
|
||||||
|
|
||||||
|
import org.eclipse.cdt.debug.core.ICDTLaunchConfigurationConstants;
|
||||||
|
import org.eclipse.cdt.dsf.gdb.IGDBLaunchConfigurationConstants;
|
||||||
|
import org.eclipse.cdt.tests.dsf.gdb.framework.BaseTestCase;
|
||||||
|
import org.junit.BeforeClass;
|
||||||
|
import org.junit.runner.RunWith;
|
||||||
|
import org.junit.runners.Suite;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This class is meant to be empty. It enables us to define
|
||||||
|
* the annotations which list all the different JUnit class we
|
||||||
|
* want to run. When creating a new test class, it should be
|
||||||
|
* added to the list below.
|
||||||
|
*
|
||||||
|
* This suite is for tests to be run with GDB 7.1
|
||||||
|
*/
|
||||||
|
|
||||||
|
@RunWith(Suite.class)
|
||||||
|
@Suite.SuiteClasses({
|
||||||
|
// We need specific name for the tests of this suite, because of bug https://bugs.eclipse.org/172256
|
||||||
|
GDBRemoteTracepointsTest_7_1.class,
|
||||||
|
MIRegistersTest_7_1.class,
|
||||||
|
MIRunControlTest_7_1.class,
|
||||||
|
MIExpressionsTest_7_1.class,
|
||||||
|
MIMemoryTest_7_1.class,
|
||||||
|
MIBreakpointsTest_7_1.class,
|
||||||
|
MICatchpointsTest_7_1.class,
|
||||||
|
MIDisassemblyTest_7_1.class,
|
||||||
|
GDBProcessesTest_7_1.class
|
||||||
|
/* Add your test class here */
|
||||||
|
})
|
||||||
|
|
||||||
|
public class Suite_Remote_7_1 {
|
||||||
|
@BeforeClass
|
||||||
|
public static void beforeClassMethod() {
|
||||||
|
BaseTestCase.setLaunchAttribute(ICDTLaunchConfigurationConstants.ATTR_DEBUGGER_START_MODE,
|
||||||
|
IGDBLaunchConfigurationConstants.DEBUGGER_MODE_REMOTE);
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,25 @@
|
||||||
|
/*******************************************************************************
|
||||||
|
* Copyright (c) 2010 Ericsson and others.
|
||||||
|
* All rights reserved. This program and the accompanying materials
|
||||||
|
* are made available under the terms of the Eclipse Public License v1.0
|
||||||
|
* which accompanies this distribution, and is available at
|
||||||
|
* http://www.eclipse.org/legal/epl-v10.html
|
||||||
|
*
|
||||||
|
* Contributors:
|
||||||
|
* Ericsson AB - Initial implementation of Test cases
|
||||||
|
*******************************************************************************/
|
||||||
|
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_7_2;
|
||||||
|
|
||||||
|
import org.eclipse.cdt.tests.dsf.gdb.framework.BackgroundRunner;
|
||||||
|
import org.eclipse.cdt.tests.dsf.gdb.tests.GDBProcessesTest;
|
||||||
|
import org.eclipse.cdt.tests.dsf.gdb.tests.ITestConstants;
|
||||||
|
import org.junit.BeforeClass;
|
||||||
|
import org.junit.runner.RunWith;
|
||||||
|
|
||||||
|
@RunWith(BackgroundRunner.class)
|
||||||
|
public class GDBProcessesTest_7_2 extends GDBProcessesTest {
|
||||||
|
@BeforeClass
|
||||||
|
public static void beforeClassMethod_7_2() {
|
||||||
|
setGdbProgramNamesLaunchAttributes(ITestConstants.SUFFIX_GDB_7_2);
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,26 @@
|
||||||
|
/*******************************************************************************
|
||||||
|
* Copyright (c) 2010 Ericsson and others.
|
||||||
|
* All rights reserved. This program and the accompanying materials
|
||||||
|
* are made available under the terms of the Eclipse Public License v1.0
|
||||||
|
* which accompanies this distribution, and is available at
|
||||||
|
* http://www.eclipse.org/legal/epl-v10.html
|
||||||
|
*
|
||||||
|
* Contributors:
|
||||||
|
* Ericsson - Initial implementation of Test cases
|
||||||
|
*******************************************************************************/
|
||||||
|
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_7_2;
|
||||||
|
|
||||||
|
|
||||||
|
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_7_1.GDBRemoteTracepointsTest_7_1;
|
||||||
|
import org.junit.BeforeClass;
|
||||||
|
import org.junit.runner.RunWith;
|
||||||
|
|
||||||
|
@RunWith(BackgroundRunner.class)
|
||||||
|
public class GDBRemoteTracepointsTest_7_2 extends GDBRemoteTracepointsTest_7_1 {
|
||||||
|
@BeforeClass
|
||||||
|
public static void beforeClassMethod_7_2() {
|
||||||
|
setGdbProgramNamesLaunchAttributes(ITestConstants.SUFFIX_GDB_7_2);
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,25 @@
|
||||||
|
/*******************************************************************************
|
||||||
|
* Copyright (c) 2010 Ericsson and others.
|
||||||
|
* All rights reserved. This program and the accompanying materials
|
||||||
|
* are made available under the terms of the Eclipse Public License v1.0
|
||||||
|
* which accompanies this distribution, and is available at
|
||||||
|
* http://www.eclipse.org/legal/epl-v10.html
|
||||||
|
*
|
||||||
|
* Contributors:
|
||||||
|
* Ericsson - Initial Implementation
|
||||||
|
*******************************************************************************/
|
||||||
|
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_7_2;
|
||||||
|
|
||||||
|
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.BeforeClass;
|
||||||
|
import org.junit.runner.RunWith;
|
||||||
|
|
||||||
|
@RunWith(BackgroundRunner.class)
|
||||||
|
public class MIBreakpointsTest_7_2 extends MIBreakpointsTest {
|
||||||
|
@BeforeClass
|
||||||
|
public static void beforeClassMethod_7_2() {
|
||||||
|
setGdbProgramNamesLaunchAttributes(ITestConstants.SUFFIX_GDB_7_2);
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,25 @@
|
||||||
|
/*******************************************************************************
|
||||||
|
* Copyright (c) 2010 Ericsson and others.
|
||||||
|
* All rights reserved. This program and the accompanying materials
|
||||||
|
* are made available under the terms of the Eclipse Public License v1.0
|
||||||
|
* which accompanies this distribution, and is available at
|
||||||
|
* http://www.eclipse.org/legal/epl-v10.html
|
||||||
|
*
|
||||||
|
* Contributors:
|
||||||
|
* Ericsson - Initial Implementation
|
||||||
|
*******************************************************************************/
|
||||||
|
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_7_2;
|
||||||
|
|
||||||
|
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.MICatchpointsTest;
|
||||||
|
import org.junit.BeforeClass;
|
||||||
|
import org.junit.runner.RunWith;
|
||||||
|
|
||||||
|
@RunWith(BackgroundRunner.class)
|
||||||
|
public class MICatchpointsTest_7_2 extends MICatchpointsTest {
|
||||||
|
@BeforeClass
|
||||||
|
public static void beforeClassMethod_7_2() {
|
||||||
|
setGdbProgramNamesLaunchAttributes(ITestConstants.SUFFIX_GDB_7_2);
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,27 @@
|
||||||
|
/*******************************************************************************
|
||||||
|
* Copyright (c) 2010 Ericsson and others.
|
||||||
|
* All rights reserved. This program and the accompanying materials
|
||||||
|
* are made available under the terms of the Eclipse Public License v1.0
|
||||||
|
* which accompanies this distribution, and is available at
|
||||||
|
* http://www.eclipse.org/legal/epl-v10.html
|
||||||
|
*
|
||||||
|
* Contributors:
|
||||||
|
* Ericsson - Initial Implementation
|
||||||
|
*******************************************************************************/
|
||||||
|
|
||||||
|
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_7_2;
|
||||||
|
|
||||||
|
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.MIDisassemblyTest;
|
||||||
|
import org.junit.BeforeClass;
|
||||||
|
import org.junit.runner.RunWith;
|
||||||
|
|
||||||
|
|
||||||
|
@RunWith(BackgroundRunner.class)
|
||||||
|
public class MIDisassemblyTest_7_2 extends MIDisassemblyTest {
|
||||||
|
@BeforeClass
|
||||||
|
public static void beforeClassMethod_7_2() {
|
||||||
|
setGdbProgramNamesLaunchAttributes(ITestConstants.SUFFIX_GDB_7_2);
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,25 @@
|
||||||
|
/*******************************************************************************
|
||||||
|
* Copyright (c) 2010 Ericsson and others.
|
||||||
|
* All rights reserved. This program and the accompanying materials
|
||||||
|
* are made available under the terms of the Eclipse Public License v1.0
|
||||||
|
* which accompanies this distribution, and is available at
|
||||||
|
* http://www.eclipse.org/legal/epl-v10.html
|
||||||
|
*
|
||||||
|
* Contributors:
|
||||||
|
* Ericsson - Initial Implementation
|
||||||
|
*******************************************************************************/
|
||||||
|
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_7_2;
|
||||||
|
|
||||||
|
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.MIExpressionsTest;
|
||||||
|
import org.junit.BeforeClass;
|
||||||
|
import org.junit.runner.RunWith;
|
||||||
|
|
||||||
|
@RunWith(BackgroundRunner.class)
|
||||||
|
public class MIExpressionsTest_7_2 extends MIExpressionsTest {
|
||||||
|
@BeforeClass
|
||||||
|
public static void beforeClassMethod_7_2() {
|
||||||
|
setGdbProgramNamesLaunchAttributes(ITestConstants.SUFFIX_GDB_7_2);
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,25 @@
|
||||||
|
/*******************************************************************************
|
||||||
|
* Copyright (c) 2010 Ericsson and others.
|
||||||
|
* All rights reserved. This program and the accompanying materials
|
||||||
|
* are made available under the terms of the Eclipse Public License v1.0
|
||||||
|
* which accompanies this distribution, and is available at
|
||||||
|
* http://www.eclipse.org/legal/epl-v10.html
|
||||||
|
*
|
||||||
|
* Contributors:
|
||||||
|
* Ericsson AB - Initial Implementation
|
||||||
|
*******************************************************************************/
|
||||||
|
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_7_2;
|
||||||
|
|
||||||
|
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.MIMemoryTest;
|
||||||
|
import org.junit.BeforeClass;
|
||||||
|
import org.junit.runner.RunWith;
|
||||||
|
|
||||||
|
@RunWith(BackgroundRunner.class)
|
||||||
|
public class MIMemoryTest_7_2 extends MIMemoryTest {
|
||||||
|
@BeforeClass
|
||||||
|
public static void beforeClassMethod_7_2() {
|
||||||
|
setGdbProgramNamesLaunchAttributes(ITestConstants.SUFFIX_GDB_7_2);
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,25 @@
|
||||||
|
/*******************************************************************************
|
||||||
|
* Copyright (c) 2010 Ericsson and others.
|
||||||
|
* All rights reserved. This program and the accompanying materials
|
||||||
|
* are made available under the terms of the Eclipse Public License v1.0
|
||||||
|
* which accompanies this distribution, and is available at
|
||||||
|
* http://www.eclipse.org/legal/epl-v10.html
|
||||||
|
*
|
||||||
|
* Contributors:
|
||||||
|
* Ericsson AB - Initial Implementation
|
||||||
|
*******************************************************************************/
|
||||||
|
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_7_2;
|
||||||
|
|
||||||
|
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.MIRegistersTest;
|
||||||
|
import org.junit.BeforeClass;
|
||||||
|
import org.junit.runner.RunWith;
|
||||||
|
|
||||||
|
@RunWith(BackgroundRunner.class)
|
||||||
|
public class MIRegistersTest_7_2 extends MIRegistersTest {
|
||||||
|
@BeforeClass
|
||||||
|
public static void beforeClassMethod_7_2() {
|
||||||
|
setGdbProgramNamesLaunchAttributes(ITestConstants.SUFFIX_GDB_7_2);
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,32 @@
|
||||||
|
/*******************************************************************************
|
||||||
|
* Copyright (c) 2010 Ericsson and others.
|
||||||
|
* All rights reserved. This program and the accompanying materials
|
||||||
|
* are made available under the terms of the Eclipse Public License v1.0
|
||||||
|
* which accompanies this distribution, and is available at
|
||||||
|
* http://www.eclipse.org/legal/epl-v10.html
|
||||||
|
*
|
||||||
|
* Contributors:
|
||||||
|
* Ericsson AB - Initial implementation of Test cases
|
||||||
|
*******************************************************************************/
|
||||||
|
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_7_2;
|
||||||
|
|
||||||
|
|
||||||
|
import org.eclipse.cdt.dsf.debug.service.IRunControl.StateChangeReason;
|
||||||
|
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.MIRunControlTest;
|
||||||
|
import org.junit.BeforeClass;
|
||||||
|
import org.junit.runner.RunWith;
|
||||||
|
|
||||||
|
@RunWith(BackgroundRunner.class)
|
||||||
|
public class MIRunControlTest_7_2 extends MIRunControlTest {
|
||||||
|
@BeforeClass
|
||||||
|
public static void beforeClassMethod_7_2() {
|
||||||
|
setGdbProgramNamesLaunchAttributes(ITestConstants.SUFFIX_GDB_7_2);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected StateChangeReason getExpectedMainThreadStopReason() {
|
||||||
|
return StateChangeReason.BREAKPOINT;
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,39 @@
|
||||||
|
/*******************************************************************************
|
||||||
|
* Copyright (c) 2010 Ericsson and others.
|
||||||
|
* All rights reserved. This program and the accompanying materials
|
||||||
|
* are made available under the terms of the Eclipse Public License v1.0
|
||||||
|
* which accompanies this distribution, and is available at
|
||||||
|
* http://www.eclipse.org/legal/epl-v10.html
|
||||||
|
*
|
||||||
|
* Contributors:
|
||||||
|
* Ericsson - Initial Implementation
|
||||||
|
*******************************************************************************/
|
||||||
|
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_7_2;
|
||||||
|
|
||||||
|
import org.junit.runner.RunWith;
|
||||||
|
import org.junit.runners.Suite;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This class is meant to be empty. It enables us to define
|
||||||
|
* the annotations which list all the different JUnit class we
|
||||||
|
* want to run. When creating a new test class, it should be
|
||||||
|
* added to the list below.
|
||||||
|
*
|
||||||
|
* This suite is for tests to be run with GDB 7.2
|
||||||
|
*/
|
||||||
|
|
||||||
|
@RunWith(Suite.class)
|
||||||
|
@Suite.SuiteClasses({
|
||||||
|
// We need specific name for the tests of this suite, because of bug https://bugs.eclipse.org/172256
|
||||||
|
MIRegistersTest_7_2.class,
|
||||||
|
MIRunControlTest_7_2.class,
|
||||||
|
MIExpressionsTest_7_2.class,
|
||||||
|
MIMemoryTest_7_2.class,
|
||||||
|
MIBreakpointsTest_7_2.class,
|
||||||
|
MICatchpointsTest_7_2.class,
|
||||||
|
MIDisassemblyTest_7_2.class,
|
||||||
|
GDBProcessesTest_7_2.class
|
||||||
|
/* Add your test class here */
|
||||||
|
})
|
||||||
|
|
||||||
|
public class Suite_7_2 {}
|
|
@ -0,0 +1,50 @@
|
||||||
|
/*******************************************************************************
|
||||||
|
* Copyright (c) 2010 Ericsson and others.
|
||||||
|
* All rights reserved. This program and the accompanying materials
|
||||||
|
* are made available under the terms of the Eclipse Public License v1.0
|
||||||
|
* which accompanies this distribution, and is available at
|
||||||
|
* http://www.eclipse.org/legal/epl-v10.html
|
||||||
|
*
|
||||||
|
* Contributors:
|
||||||
|
* Ericsson - Initial Implementation
|
||||||
|
*******************************************************************************/
|
||||||
|
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_7_2;
|
||||||
|
|
||||||
|
import org.eclipse.cdt.debug.core.ICDTLaunchConfigurationConstants;
|
||||||
|
import org.eclipse.cdt.dsf.gdb.IGDBLaunchConfigurationConstants;
|
||||||
|
import org.eclipse.cdt.tests.dsf.gdb.framework.BaseTestCase;
|
||||||
|
import org.junit.BeforeClass;
|
||||||
|
import org.junit.runner.RunWith;
|
||||||
|
import org.junit.runners.Suite;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This class is meant to be empty. It enables us to define
|
||||||
|
* the annotations which list all the different JUnit class we
|
||||||
|
* want to run. When creating a new test class, it should be
|
||||||
|
* added to the list below.
|
||||||
|
*
|
||||||
|
* This suite is for tests to be run with GDB 7.2
|
||||||
|
*/
|
||||||
|
|
||||||
|
@RunWith(Suite.class)
|
||||||
|
@Suite.SuiteClasses({
|
||||||
|
// We need specific name for the tests of this suite, because of bug https://bugs.eclipse.org/172256
|
||||||
|
GDBRemoteTracepointsTest_7_2.class,
|
||||||
|
MIRegistersTest_7_2.class,
|
||||||
|
MIRunControlTest_7_2.class,
|
||||||
|
MIExpressionsTest_7_2.class,
|
||||||
|
MIMemoryTest_7_2.class,
|
||||||
|
MIBreakpointsTest_7_2.class,
|
||||||
|
MICatchpointsTest_7_2.class,
|
||||||
|
MIDisassemblyTest_7_2.class,
|
||||||
|
GDBProcessesTest_7_2.class
|
||||||
|
/* Add your test class here */
|
||||||
|
})
|
||||||
|
|
||||||
|
public class Suite_Remote_7_2 {
|
||||||
|
@BeforeClass
|
||||||
|
public static void beforeClassMethod() {
|
||||||
|
BaseTestCase.setLaunchAttribute(ICDTLaunchConfigurationConstants.ATTR_DEBUGGER_START_MODE,
|
||||||
|
IGDBLaunchConfigurationConstants.DEBUGGER_MODE_REMOTE);
|
||||||
|
}
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue