mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-08 10:16:03 +02:00
[303825] DSF GDB junit tests don't run on Windows
This commit is contained in:
parent
1bc4846ffb
commit
a1e035fa10
30 changed files with 52 additions and 114 deletions
|
@ -23,6 +23,7 @@ import org.eclipse.cdt.dsf.mi.service.command.events.MIStoppedEvent;
|
||||||
import org.eclipse.cdt.tests.dsf.gdb.launching.TestsPlugin;
|
import org.eclipse.cdt.tests.dsf.gdb.launching.TestsPlugin;
|
||||||
import org.eclipse.cdt.utils.spawner.ProcessFactory;
|
import org.eclipse.cdt.utils.spawner.ProcessFactory;
|
||||||
import org.eclipse.core.runtime.NullProgressMonitor;
|
import org.eclipse.core.runtime.NullProgressMonitor;
|
||||||
|
import org.eclipse.core.runtime.Platform;
|
||||||
import org.eclipse.debug.core.DebugPlugin;
|
import org.eclipse.debug.core.DebugPlugin;
|
||||||
import org.eclipse.debug.core.ILaunchConfiguration;
|
import org.eclipse.debug.core.ILaunchConfiguration;
|
||||||
import org.eclipse.debug.core.ILaunchConfigurationType;
|
import org.eclipse.debug.core.ILaunchConfigurationType;
|
||||||
|
@ -172,4 +173,24 @@ public class BaseTestCase {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Sets the name of the gdb and gdbserver programs into the launch
|
||||||
|
* configuration used by the test class.
|
||||||
|
*
|
||||||
|
* <p>
|
||||||
|
* Leaf subclasses are specific to a particular version of GDB and must call
|
||||||
|
* this from their "@BeforeClass" static method so that we end up invoking
|
||||||
|
* the appropriate gdb.
|
||||||
|
*
|
||||||
|
* @param version
|
||||||
|
* string that contains the major and minor version number, e.g.,
|
||||||
|
* "6.8"
|
||||||
|
*/
|
||||||
|
protected static void setGdbProgramNamesLaunchAttributes(String version) {
|
||||||
|
// See bugzilla 303811 for why we have to append ".exe" on Windows
|
||||||
|
boolean isWindows = Platform.getOS().equals(Platform.OS_WIN32);
|
||||||
|
BaseTestCase.setLaunchAttribute(IGDBLaunchConfigurationConstants.ATTR_DEBUG_NAME, "gdb." + version + (isWindows ? ".exe" : ""));
|
||||||
|
BaseTestCase.setLaunchAttribute(ATTR_DEBUG_SERVER_NAME, "gdbserver." + version + (isWindows ? ".exe" : ""));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,9 +10,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.dsf.gdb.IGDBLaunchConfigurationConstants;
|
|
||||||
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.tests.GDBProcessesTest;
|
import org.eclipse.cdt.tests.dsf.gdb.tests.GDBProcessesTest;
|
||||||
import org.junit.BeforeClass;
|
import org.junit.BeforeClass;
|
||||||
import org.junit.runner.RunWith;
|
import org.junit.runner.RunWith;
|
||||||
|
@ -21,7 +19,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() {
|
||||||
BaseTestCase.setLaunchAttribute(IGDBLaunchConfigurationConstants.ATTR_DEBUG_NAME, "gdb.6.6");
|
setGdbProgramNamesLaunchAttributes("6.6");
|
||||||
BaseTestCase.setLaunchAttribute(ATTR_DEBUG_SERVER_NAME, "gdbserver.6.6");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,9 +10,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.dsf.gdb.IGDBLaunchConfigurationConstants;
|
|
||||||
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.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;
|
||||||
|
@ -21,7 +19,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() {
|
||||||
BaseTestCase.setLaunchAttribute(IGDBLaunchConfigurationConstants.ATTR_DEBUG_NAME, "gdb.6.6");
|
setGdbProgramNamesLaunchAttributes("6.6");
|
||||||
BaseTestCase.setLaunchAttribute(ATTR_DEBUG_SERVER_NAME, "gdbserver.6.6");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,9 +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.dsf.gdb.IGDBLaunchConfigurationConstants;
|
|
||||||
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.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;
|
||||||
|
@ -23,7 +21,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() {
|
||||||
BaseTestCase.setLaunchAttribute(IGDBLaunchConfigurationConstants.ATTR_DEBUG_NAME, "gdb.6.6");
|
setGdbProgramNamesLaunchAttributes("6.6");
|
||||||
BaseTestCase.setLaunchAttribute(ATTR_DEBUG_SERVER_NAME, "gdbserver.6.6");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,9 +10,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.dsf.gdb.IGDBLaunchConfigurationConstants;
|
|
||||||
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.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;
|
||||||
|
@ -21,7 +19,6 @@ 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() {
|
||||||
BaseTestCase.setLaunchAttribute(IGDBLaunchConfigurationConstants.ATTR_DEBUG_NAME, "gdb.6.6");
|
setGdbProgramNamesLaunchAttributes("6.6");
|
||||||
BaseTestCase.setLaunchAttribute(ATTR_DEBUG_SERVER_NAME, "gdbserver.6.6");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,9 +10,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.dsf.gdb.IGDBLaunchConfigurationConstants;
|
|
||||||
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.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;
|
||||||
|
@ -21,7 +19,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() {
|
||||||
BaseTestCase.setLaunchAttribute(IGDBLaunchConfigurationConstants.ATTR_DEBUG_NAME, "gdb.6.6");
|
setGdbProgramNamesLaunchAttributes("6.6");
|
||||||
BaseTestCase.setLaunchAttribute(ATTR_DEBUG_SERVER_NAME, "gdbserver.6.6");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,9 +10,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.dsf.gdb.IGDBLaunchConfigurationConstants;
|
|
||||||
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.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;
|
||||||
|
@ -21,7 +19,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() {
|
||||||
BaseTestCase.setLaunchAttribute(IGDBLaunchConfigurationConstants.ATTR_DEBUG_NAME, "gdb.6.6");
|
setGdbProgramNamesLaunchAttributes("6.6");
|
||||||
BaseTestCase.setLaunchAttribute(ATTR_DEBUG_SERVER_NAME, "gdbserver.6.6");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,9 +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.dsf.gdb.IGDBLaunchConfigurationConstants;
|
|
||||||
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.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;
|
||||||
|
@ -22,7 +20,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() {
|
||||||
BaseTestCase.setLaunchAttribute(IGDBLaunchConfigurationConstants.ATTR_DEBUG_NAME, "gdb.6.6");
|
setGdbProgramNamesLaunchAttributes("6.6");
|
||||||
BaseTestCase.setLaunchAttribute(ATTR_DEBUG_SERVER_NAME, "gdbserver.6.6");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,9 +10,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.dsf.gdb.IGDBLaunchConfigurationConstants;
|
|
||||||
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.tests.GDBProcessesTest;
|
import org.eclipse.cdt.tests.dsf.gdb.tests.GDBProcessesTest;
|
||||||
import org.junit.BeforeClass;
|
import org.junit.BeforeClass;
|
||||||
import org.junit.runner.RunWith;
|
import org.junit.runner.RunWith;
|
||||||
|
@ -21,7 +19,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() {
|
||||||
BaseTestCase.setLaunchAttribute(IGDBLaunchConfigurationConstants.ATTR_DEBUG_NAME, "gdb.6.7");
|
setGdbProgramNamesLaunchAttributes("6.7");
|
||||||
BaseTestCase.setLaunchAttribute(ATTR_DEBUG_SERVER_NAME, "gdbserver.6.7");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,9 +10,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.dsf.gdb.IGDBLaunchConfigurationConstants;
|
|
||||||
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.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;
|
||||||
|
@ -21,7 +19,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() {
|
||||||
BaseTestCase.setLaunchAttribute(IGDBLaunchConfigurationConstants.ATTR_DEBUG_NAME, "gdb.6.7");
|
setGdbProgramNamesLaunchAttributes("6.7");
|
||||||
BaseTestCase.setLaunchAttribute(ATTR_DEBUG_SERVER_NAME, "gdbserver.6.7");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,9 +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.dsf.gdb.IGDBLaunchConfigurationConstants;
|
|
||||||
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.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;
|
||||||
|
@ -23,7 +21,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() {
|
||||||
BaseTestCase.setLaunchAttribute(IGDBLaunchConfigurationConstants.ATTR_DEBUG_NAME, "gdb.6.7");
|
setGdbProgramNamesLaunchAttributes("6.7");
|
||||||
BaseTestCase.setLaunchAttribute(ATTR_DEBUG_SERVER_NAME, "gdbserver.6.7");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,9 +10,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.dsf.gdb.IGDBLaunchConfigurationConstants;
|
|
||||||
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.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;
|
||||||
|
@ -21,7 +19,6 @@ 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() {
|
||||||
BaseTestCase.setLaunchAttribute(IGDBLaunchConfigurationConstants.ATTR_DEBUG_NAME, "gdb.6.7");
|
setGdbProgramNamesLaunchAttributes("6.7");
|
||||||
BaseTestCase.setLaunchAttribute(ATTR_DEBUG_SERVER_NAME, "gdbserver.6.7");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,9 +10,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.dsf.gdb.IGDBLaunchConfigurationConstants;
|
|
||||||
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.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;
|
||||||
|
@ -21,7 +19,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() {
|
||||||
BaseTestCase.setLaunchAttribute(IGDBLaunchConfigurationConstants.ATTR_DEBUG_NAME, "gdb.6.7");
|
setGdbProgramNamesLaunchAttributes("6.7");
|
||||||
BaseTestCase.setLaunchAttribute(ATTR_DEBUG_SERVER_NAME, "gdbserver.6.7");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,9 +10,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.dsf.gdb.IGDBLaunchConfigurationConstants;
|
|
||||||
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.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;
|
||||||
|
@ -21,7 +19,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() {
|
||||||
BaseTestCase.setLaunchAttribute(IGDBLaunchConfigurationConstants.ATTR_DEBUG_NAME, "gdb.6.7");
|
setGdbProgramNamesLaunchAttributes("6.7");
|
||||||
BaseTestCase.setLaunchAttribute(ATTR_DEBUG_SERVER_NAME, "gdbserver.6.7");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,9 +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.dsf.gdb.IGDBLaunchConfigurationConstants;
|
|
||||||
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.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;
|
||||||
|
@ -22,7 +20,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() {
|
||||||
BaseTestCase.setLaunchAttribute(IGDBLaunchConfigurationConstants.ATTR_DEBUG_NAME, "gdb.6.7");
|
setGdbProgramNamesLaunchAttributes("6.7");
|
||||||
BaseTestCase.setLaunchAttribute(ATTR_DEBUG_SERVER_NAME, "gdbserver.6.7");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,9 +10,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.dsf.gdb.IGDBLaunchConfigurationConstants;
|
|
||||||
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.tests.GDBProcessesTest;
|
import org.eclipse.cdt.tests.dsf.gdb.tests.GDBProcessesTest;
|
||||||
import org.junit.BeforeClass;
|
import org.junit.BeforeClass;
|
||||||
import org.junit.runner.RunWith;
|
import org.junit.runner.RunWith;
|
||||||
|
@ -21,7 +19,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() {
|
||||||
BaseTestCase.setLaunchAttribute(IGDBLaunchConfigurationConstants.ATTR_DEBUG_NAME, "gdb.6.8");
|
setGdbProgramNamesLaunchAttributes("6.8");
|
||||||
BaseTestCase.setLaunchAttribute(ATTR_DEBUG_SERVER_NAME, "gdbserver.6.8");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,9 +10,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.dsf.gdb.IGDBLaunchConfigurationConstants;
|
|
||||||
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.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;
|
||||||
|
@ -21,10 +19,10 @@ import org.junit.runner.RunWith;
|
||||||
|
|
||||||
@RunWith(BackgroundRunner.class)
|
@RunWith(BackgroundRunner.class)
|
||||||
public class MIBreakpointsTest_6_8 extends MIBreakpointsTest {
|
public class MIBreakpointsTest_6_8 extends MIBreakpointsTest {
|
||||||
|
|
||||||
@BeforeClass
|
@BeforeClass
|
||||||
public static void beforeClassMethod_6_8() {
|
public static void beforeClassMethod_6_8() {
|
||||||
BaseTestCase.setLaunchAttribute(IGDBLaunchConfigurationConstants.ATTR_DEBUG_NAME, "gdb.6.8");
|
setGdbProgramNamesLaunchAttributes("6.8");
|
||||||
BaseTestCase.setLaunchAttribute(ATTR_DEBUG_SERVER_NAME, "gdbserver.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,9 +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.dsf.gdb.IGDBLaunchConfigurationConstants;
|
|
||||||
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.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;
|
||||||
|
@ -23,7 +21,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() {
|
||||||
BaseTestCase.setLaunchAttribute(IGDBLaunchConfigurationConstants.ATTR_DEBUG_NAME, "gdb.6.8");
|
setGdbProgramNamesLaunchAttributes("6.8");
|
||||||
BaseTestCase.setLaunchAttribute(ATTR_DEBUG_SERVER_NAME, "gdbserver.6.8");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,9 +10,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.dsf.gdb.IGDBLaunchConfigurationConstants;
|
|
||||||
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.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;
|
||||||
|
@ -21,7 +19,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() {
|
||||||
BaseTestCase.setLaunchAttribute(IGDBLaunchConfigurationConstants.ATTR_DEBUG_NAME, "gdb.6.8");
|
setGdbProgramNamesLaunchAttributes("6.8");
|
||||||
BaseTestCase.setLaunchAttribute(ATTR_DEBUG_SERVER_NAME, "gdbserver.6.8");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,9 +10,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.dsf.gdb.IGDBLaunchConfigurationConstants;
|
|
||||||
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.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;
|
||||||
|
@ -21,7 +19,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() {
|
||||||
BaseTestCase.setLaunchAttribute(IGDBLaunchConfigurationConstants.ATTR_DEBUG_NAME, "gdb.6.8");
|
setGdbProgramNamesLaunchAttributes("6.8");
|
||||||
BaseTestCase.setLaunchAttribute(ATTR_DEBUG_SERVER_NAME, "gdbserver.6.8");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,9 +10,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.dsf.gdb.IGDBLaunchConfigurationConstants;
|
|
||||||
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.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;
|
||||||
|
@ -21,7 +19,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() {
|
||||||
BaseTestCase.setLaunchAttribute(IGDBLaunchConfigurationConstants.ATTR_DEBUG_NAME, "gdb.6.8");
|
setGdbProgramNamesLaunchAttributes("6.8");
|
||||||
BaseTestCase.setLaunchAttribute(ATTR_DEBUG_SERVER_NAME, "gdbserver.6.8");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,9 +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.dsf.gdb.IGDBLaunchConfigurationConstants;
|
|
||||||
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.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;
|
||||||
|
@ -22,7 +20,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() {
|
||||||
BaseTestCase.setLaunchAttribute(IGDBLaunchConfigurationConstants.ATTR_DEBUG_NAME, "gdb.6.8");
|
setGdbProgramNamesLaunchAttributes("6.8");
|
||||||
BaseTestCase.setLaunchAttribute(ATTR_DEBUG_SERVER_NAME, "gdbserver.6.8");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -10,9 +10,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.dsf.gdb.IGDBLaunchConfigurationConstants;
|
|
||||||
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.tests.GDBProcessesTest;
|
import org.eclipse.cdt.tests.dsf.gdb.tests.GDBProcessesTest;
|
||||||
import org.junit.BeforeClass;
|
import org.junit.BeforeClass;
|
||||||
import org.junit.runner.RunWith;
|
import org.junit.runner.RunWith;
|
||||||
|
@ -21,7 +19,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() {
|
||||||
BaseTestCase.setLaunchAttribute(IGDBLaunchConfigurationConstants.ATTR_DEBUG_NAME, "gdb.7.0");
|
setGdbProgramNamesLaunchAttributes("7.0");
|
||||||
BaseTestCase.setLaunchAttribute(ATTR_DEBUG_SERVER_NAME, "gdbserver.7.0");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -48,8 +48,8 @@ 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() {
|
||||||
setLaunchAttribute(IGDBLaunchConfigurationConstants.ATTR_DEBUG_NAME, "gdb.7.0");
|
setGdbProgramNamesLaunchAttributes("7.0");
|
||||||
setLaunchAttribute(ATTR_DEBUG_SERVER_NAME, "gdbserver.7.0");
|
|
||||||
setLaunchAttribute(ICDTLaunchConfigurationConstants.ATTR_PROGRAM_NAME, "data/launch/bin/TracepointTestApp.exe");
|
setLaunchAttribute(ICDTLaunchConfigurationConstants.ATTR_PROGRAM_NAME, "data/launch/bin/TracepointTestApp.exe");
|
||||||
|
|
||||||
// GDB tracepoints are only supported on a remote target (e.g., using gdbserver)
|
// GDB tracepoints are only supported on a remote target (e.g., using gdbserver)
|
||||||
|
|
|
@ -10,9 +10,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.dsf.gdb.IGDBLaunchConfigurationConstants;
|
|
||||||
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.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;
|
||||||
|
@ -21,7 +19,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() {
|
||||||
BaseTestCase.setLaunchAttribute(IGDBLaunchConfigurationConstants.ATTR_DEBUG_NAME, "gdb.7.0");
|
setGdbProgramNamesLaunchAttributes("7.0");
|
||||||
BaseTestCase.setLaunchAttribute(ATTR_DEBUG_SERVER_NAME, "gdbserver.7.0");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,9 +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.dsf.gdb.IGDBLaunchConfigurationConstants;
|
|
||||||
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.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;
|
||||||
|
@ -23,7 +21,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() {
|
||||||
BaseTestCase.setLaunchAttribute(IGDBLaunchConfigurationConstants.ATTR_DEBUG_NAME, "gdb.7.0");
|
setGdbProgramNamesLaunchAttributes("7.0");
|
||||||
BaseTestCase.setLaunchAttribute(ATTR_DEBUG_SERVER_NAME, "gdbserver.7.0");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,9 +10,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.dsf.gdb.IGDBLaunchConfigurationConstants;
|
|
||||||
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.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;
|
||||||
|
@ -21,7 +19,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() {
|
||||||
BaseTestCase.setLaunchAttribute(IGDBLaunchConfigurationConstants.ATTR_DEBUG_NAME, "gdb.7.0");
|
setGdbProgramNamesLaunchAttributes("7.0");
|
||||||
BaseTestCase.setLaunchAttribute(ATTR_DEBUG_SERVER_NAME, "gdbserver.7.0");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,9 +10,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.dsf.gdb.IGDBLaunchConfigurationConstants;
|
|
||||||
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.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;
|
||||||
|
@ -21,7 +19,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() {
|
||||||
BaseTestCase.setLaunchAttribute(IGDBLaunchConfigurationConstants.ATTR_DEBUG_NAME, "gdb.7.0");
|
setGdbProgramNamesLaunchAttributes("7.0");
|
||||||
BaseTestCase.setLaunchAttribute(ATTR_DEBUG_SERVER_NAME, "gdbserver.7.0");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,9 +10,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.dsf.gdb.IGDBLaunchConfigurationConstants;
|
|
||||||
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.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;
|
||||||
|
@ -21,7 +19,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() {
|
||||||
BaseTestCase.setLaunchAttribute(IGDBLaunchConfigurationConstants.ATTR_DEBUG_NAME, "gdb.7.0");
|
setGdbProgramNamesLaunchAttributes("7.0");
|
||||||
BaseTestCase.setLaunchAttribute(ATTR_DEBUG_SERVER_NAME, "gdbserver.7.0");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,9 +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.dsf.gdb.IGDBLaunchConfigurationConstants;
|
|
||||||
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.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;
|
||||||
|
@ -22,7 +20,6 @@ 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() {
|
||||||
BaseTestCase.setLaunchAttribute(IGDBLaunchConfigurationConstants.ATTR_DEBUG_NAME, "gdb.7.0");
|
setGdbProgramNamesLaunchAttributes("7.0");
|
||||||
BaseTestCase.setLaunchAttribute(ATTR_DEBUG_SERVER_NAME, "gdbserver.7.0");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue