mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 22:52:11 +02:00
Bug 478803 and Bug 478805: add tests for source lookup
Change-Id: If47f62a46164e4098e663f1eef1a0a8640a84009 Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
This commit is contained in:
parent
3b26dc26c4
commit
cc2099c4a0
47 changed files with 751 additions and 33 deletions
|
@ -32,11 +32,12 @@ Export-Package: org.eclipse.cdt.debug.core,
|
|||
org.eclipse.cdt.debug.internal.core.executables;x-internal:=true,
|
||||
org.eclipse.cdt.debug.internal.core.model;x-friends:="org.eclipse.cdt.dsf.ui,org.eclipse.cdt.dsf.gdb",
|
||||
org.eclipse.cdt.debug.internal.core.sourcelookup;
|
||||
x-friends:="org.eclipse.cdt.dsf.ui,
|
||||
org.eclipse.cdt.debug.edc,
|
||||
x-friends:="org.eclipse.cdt.debug.edc,
|
||||
org.eclipse.cdt.debug.gdbjtag.core,
|
||||
org.eclipse.cdt.dsf,
|
||||
org.eclipse.cdt.dsf.gdb,
|
||||
org.eclipse.cdt.dsf",
|
||||
org.eclipse.cdt.dsf.ui,
|
||||
org.eclipse.cdt.tests.dsf.gdb",
|
||||
org.eclipse.cdt.debug.internal.core.srcfinder;x-internal:=true
|
||||
Require-Bundle: org.eclipse.core.resources;bundle-version="[3.2.0,4.0.0)",
|
||||
org.eclipse.debug.core;bundle-version="[3.2.0,4.0.0)",
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
BINDIR = ../bin
|
||||
BUILDDIR = ../build
|
||||
SRC_C = $(wildcard *.c)
|
||||
SRC_CXX = $(wildcard *.cc)
|
||||
|
||||
|
@ -12,8 +13,10 @@ COREFILE = $(BINDIR)/core
|
|||
CC = gcc
|
||||
CXX = g++
|
||||
|
||||
CFLAGS = -g3 -O0
|
||||
CXXFLAGS = -g3 -O0
|
||||
# Uncomment the OLDDWARFFLAGS to run newer GCC against older GDB
|
||||
# OLDDWARFFLAGS = -gdwarf-2 -gstrict-dwarf
|
||||
CFLAGS = -g3 -O0 $(OLDDWARFFLAGS)
|
||||
CXXFLAGS = -g3 -O0 $(OLDDWARFFLAGS)
|
||||
|
||||
# Don't try to use pthread on Windows
|
||||
# The OS environment variable exists on Windows
|
||||
|
@ -33,16 +36,25 @@ all: $(BINS) $(COREFILE)
|
|||
$(BINDIR):
|
||||
$(MKDIR) $@
|
||||
|
||||
$(BINDIR)/%.exe: %.c $(HEADERS) | $(BINDIR)
|
||||
$(BUILDDIR):
|
||||
$(MKDIR) $@
|
||||
|
||||
$(BINDIR)/%.exe: %.c $(HEADERS) Makefile | $(BINDIR)
|
||||
$(CC) $(CFLAGS) -o $@ $<
|
||||
|
||||
$(BINDIR)/%.exe: %.cc $(HEADERS) | $(BINDIR)
|
||||
$(BINDIR)/%.exe: %.cc $(HEADERS) Makefile | $(BINDIR)
|
||||
$(CXX) $(CXXFLAGS) -o $@ $<
|
||||
|
||||
# Generate a core file that is needed for post-morted core-file tests
|
||||
$(COREFILE): $(BINDIR)/ExpressionTestApp.exe | $(BINDIR)
|
||||
$(COREFILE): $(BINDIR)/ExpressionTestApp.exe Makefile | $(BINDIR)
|
||||
gdb -nx --batch -ex 'b testLocals' -ex 'run' --ex 'next 16' \
|
||||
-ex 'gcore ../bin/core' $(BINDIR)/ExpressionTestApp.exe > /dev/null
|
||||
|
||||
# Compile a source file from an alternate directory
|
||||
$(BINDIR)/SourceLookup.exe: SourceLookup.cc $(HEADERS) Makefile | $(BINDIR) $(BUILDDIR)
|
||||
cp SourceLookup.cc $(BUILDDIR)/SourceLookup.cc
|
||||
cd $(BUILDDIR) && $(CXX) $(CXXFLAGS) -o $@ SourceLookup.cc
|
||||
rm $(BUILDDIR)/SourceLookup.cc
|
||||
|
||||
clean:
|
||||
$(RM) -r $(BINDIR)
|
||||
$(RM) -r $(BINDIR) $(BUILDDIR)
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
#include <stdio.h>
|
||||
volatile int i;
|
||||
|
||||
int func(void) {
|
||||
i = 0;
|
||||
i += 1;
|
||||
i += 2;
|
||||
return i;
|
||||
}
|
||||
|
||||
|
||||
int main() {
|
||||
int calc = func();
|
||||
|
||||
printf("Calc: %d\n", calc);
|
||||
return 0;
|
||||
}
|
|
@ -11,6 +11,7 @@
|
|||
* Simon Marchi (Ericsson) - Make canRestart and restart throw Exception instead of Throwable.
|
||||
* Simon Marchi (Ericsson) - Add getThreadData.
|
||||
* Alvaro Sanchez-Leon (Ericsson AB) - [Memory] Make tests run with different values of addressable size (Bug 460241)
|
||||
* Jonah Graham (Kichwa Coders) - Add support for gdb's "set substitute-path" (Bug 472765)
|
||||
*******************************************************************************/
|
||||
package org.eclipse.cdt.tests.dsf.gdb.framework;
|
||||
|
||||
|
@ -53,6 +54,8 @@ import org.eclipse.cdt.dsf.debug.service.IProcesses.IThreadDMData;
|
|||
import org.eclipse.cdt.dsf.debug.service.IRunControl.IContainerDMContext;
|
||||
import org.eclipse.cdt.dsf.debug.service.IRunControl.IExecutionDMContext;
|
||||
import org.eclipse.cdt.dsf.debug.service.IRunControl.StepType;
|
||||
import org.eclipse.cdt.dsf.debug.service.ISourceLookup.ISourceLookupDMContext;
|
||||
import org.eclipse.cdt.dsf.debug.service.ISourceLookup;
|
||||
import org.eclipse.cdt.dsf.debug.service.IStack.IFrameDMContext;
|
||||
import org.eclipse.cdt.dsf.debug.service.IStack.IFrameDMData;
|
||||
import org.eclipse.cdt.dsf.debug.service.IStack.IVariableDMContext;
|
||||
|
@ -96,6 +99,8 @@ public class SyncUtil {
|
|||
private static CommandFactory fCommandFactory;
|
||||
private static IGDBProcesses fProcessesService;
|
||||
|
||||
private static ISourceLookup fSourceLookup;
|
||||
|
||||
// Initialize some common things, once the session has been established
|
||||
public static void initialize(DsfSession session) throws Exception {
|
||||
fSession = session;
|
||||
|
@ -113,6 +118,7 @@ public class SyncUtil {
|
|||
fProcessesService = tracker.getService(IGDBProcesses.class);
|
||||
fMemory = tracker.getService(IMemory.class);
|
||||
fCommandFactory = fGdbControl.getCommandFactory();
|
||||
fSourceLookup = tracker.getService(ISourceLookup.class);
|
||||
|
||||
tracker.dispose();
|
||||
}
|
||||
|
@ -385,27 +391,34 @@ public class SyncUtil {
|
|||
}
|
||||
|
||||
public static IFrameDMContext getStackFrame(final IExecutionDMContext execCtx, final int level) throws Exception {
|
||||
Query<IFrameDMContext> query = new Query<IFrameDMContext>() {
|
||||
@Override
|
||||
protected void execute(final DataRequestMonitor<IFrameDMContext> rm) {
|
||||
fStack.getFrames(execCtx, new ImmediateDataRequestMonitor<IFrameDMContext[]>(rm) {
|
||||
@Override
|
||||
protected void handleSuccess() {
|
||||
if (getData().length > level) {
|
||||
rm.setData(getData()[level]);
|
||||
} else {
|
||||
rm.setStatus(new Status(IStatus.ERROR, TestsPlugin.PLUGIN_ID, "Frame not available"));
|
||||
}
|
||||
rm.done();
|
||||
}
|
||||
});
|
||||
}
|
||||
};
|
||||
Query<IFrameDMContext> query = new Query<IFrameDMContext>() {
|
||||
@Override
|
||||
protected void execute(final DataRequestMonitor<IFrameDMContext> rm) {
|
||||
fStack.getFrames(execCtx, level, level, new ImmediateDataRequestMonitor<IFrameDMContext[]>(rm) {
|
||||
@Override
|
||||
protected void handleSuccess() {
|
||||
IFrameDMContext[] frameDmcs = getData();
|
||||
assert frameDmcs != null;
|
||||
assert frameDmcs.length == 1;
|
||||
rm.setData(frameDmcs[0]);
|
||||
rm.done();
|
||||
}
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
fSession.getExecutor().execute(query);
|
||||
return query.get(500, TimeUnit.MILLISECONDS);
|
||||
fSession.getExecutor().execute(query);
|
||||
return query.get(500, TimeUnit.MILLISECONDS);
|
||||
}
|
||||
|
||||
/**
|
||||
* Utility method to return a specific frame DM context.
|
||||
*/
|
||||
@ThreadSafeAndProhibitedFromDsfExecutor("fSession.getExecutor()")
|
||||
public static IFrameDMContext getStackFrame(int threadIndex, final int level) throws Exception {
|
||||
return getStackFrame(getExecutionContext(threadIndex), level);
|
||||
}
|
||||
|
||||
public static Integer getStackDepth(final IExecutionDMContext execCtx) throws Throwable {
|
||||
return getStackDepth(execCtx, 0);
|
||||
}
|
||||
|
@ -442,6 +455,10 @@ public class SyncUtil {
|
|||
return query.get(500, TimeUnit.MILLISECONDS);
|
||||
}
|
||||
|
||||
public static IFrameDMData getFrameData(final int threadId, final int level) throws Throwable {
|
||||
return getFrameData(getExecutionContext(threadId), level);
|
||||
}
|
||||
|
||||
public static IThreadDMData getThreadData(final int threadId)
|
||||
throws InterruptedException, ExecutionException, TimeoutException {
|
||||
final IProcessDMContext processContext = DMContexts.getAncestorOfType(
|
||||
|
@ -924,4 +941,25 @@ public class SyncUtil {
|
|||
return memoryService.isBigEndian(dmc) ? ByteOrder.BIG_ENDIAN
|
||||
: ByteOrder.LITTLE_ENDIAN;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the source using the {@link ISourceLookup} service.
|
||||
*
|
||||
* Wrapper around
|
||||
* {@link ISourceLookup#getSource(ISourceLookupDMContext, String, DataRequestMonitor)}
|
||||
*/
|
||||
public static Object getSource(final String debuggerPath) throws Exception {
|
||||
Query<Object> query = new Query<Object>() {
|
||||
@Override
|
||||
protected void execute(DataRequestMonitor<Object> rm) {
|
||||
final ISourceLookupDMContext ctx = DMContexts.getAncestorOfType(fGdbControl.getContext(),
|
||||
ISourceLookupDMContext.class);
|
||||
fSourceLookup.getSource(ctx, debuggerPath, rm);
|
||||
}
|
||||
};
|
||||
|
||||
fSourceLookup.getExecutor().execute(query);
|
||||
|
||||
return query.get();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,191 @@
|
|||
/*******************************************************************************
|
||||
* Copyright (c) 2015 Kichwa Coders 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:
|
||||
* Jonah Graham (Kichwa Coders) - initial API and implementation to Add support for gdb's "set substitute-path" (Bug 472765)
|
||||
*******************************************************************************/
|
||||
package org.eclipse.cdt.tests.dsf.gdb.tests;
|
||||
|
||||
import static org.junit.Assert.assertEquals;
|
||||
import static org.junit.Assert.assertFalse;
|
||||
import static org.junit.Assert.assertNotNull;
|
||||
import static org.junit.Assert.assertNull;
|
||||
import static org.junit.Assert.assertTrue;
|
||||
import static org.junit.Assert.fail;
|
||||
|
||||
import java.io.File;
|
||||
import java.nio.file.Files;
|
||||
import java.nio.file.Paths;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.concurrent.ExecutionException;
|
||||
|
||||
import org.eclipse.cdt.debug.core.ICDTLaunchConfigurationConstants;
|
||||
import org.eclipse.cdt.debug.core.sourcelookup.MappingSourceContainer;
|
||||
import org.eclipse.cdt.debug.internal.core.sourcelookup.MapEntrySourceContainer;
|
||||
import org.eclipse.cdt.dsf.debug.service.IStack.IFrameDMContext;
|
||||
import org.eclipse.cdt.dsf.debug.service.IStack.IFrameDMData;
|
||||
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.SyncUtil;
|
||||
import org.eclipse.core.resources.IStorage;
|
||||
import org.eclipse.core.runtime.CoreException;
|
||||
import org.eclipse.core.runtime.Path;
|
||||
import org.eclipse.debug.core.DebugPlugin;
|
||||
import org.eclipse.debug.core.ILaunchConfiguration;
|
||||
import org.eclipse.debug.core.sourcelookup.AbstractSourceLookupDirector;
|
||||
import org.eclipse.debug.core.sourcelookup.ISourceContainer;
|
||||
import org.eclipse.debug.core.sourcelookup.ISourceLookupDirector;
|
||||
import org.eclipse.debug.core.sourcelookup.containers.DefaultSourceContainer;
|
||||
import org.eclipse.debug.core.sourcelookup.containers.DirectorySourceContainer;
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
|
||||
/**
|
||||
* Tests that interaction with source lookups works as expected.
|
||||
*
|
||||
* All of these tests use a program (SourceLookup.exe) that was built from
|
||||
* sources that have moved. At build time source was ../build/SourceLookup.cc,
|
||||
* but now is ../src/SourceLookup.cc.
|
||||
*
|
||||
* TODO: Missing features and tests:
|
||||
*
|
||||
* - Update source lookup path in running session (i.e. simulate behaviour of
|
||||
* CSourceNotFoundEditor)
|
||||
*
|
||||
* - Ensure breakpoints are inserted properly. This needs to be done by creating
|
||||
* platform breakpoints and checking they are installed correctly.
|
||||
*/
|
||||
@RunWith(BackgroundRunner.class)
|
||||
public class SourceLookupTest extends BaseTestCase {
|
||||
protected static final String BUILD_PATH = "data/launch/build/";
|
||||
protected static final String EXEC_NAME = "SourceLookup.exe"; //$NON-NLS-1$
|
||||
|
||||
protected static final String SOURCE_ABSPATH = new File(SOURCE_PATH).getAbsolutePath();
|
||||
protected static final String BUILD_ABSPATH = new File(BUILD_PATH).getAbsolutePath();
|
||||
|
||||
@Override
|
||||
public void doBeforeTest() throws Exception {
|
||||
setLaunchAttributes();
|
||||
// source lookup attributes are custom per test, so delay launch until
|
||||
// they are setup
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void setLaunchAttributes() {
|
||||
super.setLaunchAttributes();
|
||||
|
||||
setLaunchAttribute(ICDTLaunchConfigurationConstants.ATTR_PROGRAM_NAME, EXEC_PATH + EXEC_NAME);
|
||||
}
|
||||
|
||||
/**
|
||||
* Test with only default source locators on, that the source file was not
|
||||
* found when stopped at main by any of GDB directly, with the source lookup
|
||||
* director, or via the ISourceLookup service.
|
||||
*/
|
||||
@Test
|
||||
public void defaultSourceLookup() throws Throwable {
|
||||
doLaunch();
|
||||
|
||||
// Check file name as returned from back end
|
||||
IFrameDMData frameData = SyncUtil.getFrameData(0, 0);
|
||||
assertFalse("GDB Unexpectedly located the source", Files.exists(Paths.get(frameData.getFile())));
|
||||
|
||||
// Check file as resolved by source lookup director
|
||||
ISourceLookupDirector director = (ISourceLookupDirector) getGDBLaunch().getSourceLocator();
|
||||
IFrameDMContext frameDmc = SyncUtil.getStackFrame(0, 0);
|
||||
Object sourceElement = director.getSourceElement(frameDmc);
|
||||
assertNull("Source Locator unexpectedly found the source", sourceElement);
|
||||
|
||||
// Check file as resolved by ISourceLookup service
|
||||
try {
|
||||
SyncUtil.getSource(frameData.getFile());
|
||||
fail("Source Lookup service unexpectedly found the source");
|
||||
} catch (ExecutionException e) {
|
||||
assertNotNull(e.getCause());
|
||||
assertTrue(e.getCause() instanceof CoreException);
|
||||
assertEquals("No sources found", e.getCause().getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
protected AbstractSourceLookupDirector setSourceContainer(ISourceContainer container) throws CoreException {
|
||||
AbstractSourceLookupDirector director = (AbstractSourceLookupDirector) DebugPlugin.getDefault()
|
||||
.getLaunchManager().newSourceLocator("org.eclipse.cdt.debug.core.sourceLocator");
|
||||
addSourceContainer(director, new DefaultSourceContainer());
|
||||
addSourceContainer(director, container);
|
||||
return director;
|
||||
}
|
||||
|
||||
protected void addSourceContainer(AbstractSourceLookupDirector director, ISourceContainer container)
|
||||
throws CoreException {
|
||||
|
||||
ArrayList<ISourceContainer> containerList = new ArrayList<ISourceContainer>(
|
||||
Arrays.asList(director.getSourceContainers()));
|
||||
container.init(director);
|
||||
containerList.add(container);
|
||||
director.setSourceContainers(containerList.toArray(new ISourceContainer[containerList.size()]));
|
||||
setLaunchAttribute(ILaunchConfiguration.ATTR_SOURCE_LOCATOR_MEMENTO, director.getMemento());
|
||||
setLaunchAttribute(ILaunchConfiguration.ATTR_SOURCE_LOCATOR_ID, director.getId());
|
||||
}
|
||||
|
||||
/**
|
||||
* Test with default source locators and a path mapping
|
||||
* {@link MappingSourceContainer} from BUILD_ABSPATH -> SOURCE_ABSPATH that
|
||||
* GDB does not locate the file, but the source lookup director and the
|
||||
* source lookup service do find the file.
|
||||
*/
|
||||
@Test
|
||||
public void sourceMapping() throws Throwable {
|
||||
MappingSourceContainer mapContainer = new MappingSourceContainer("Mappings");
|
||||
mapContainer.addMapEntry(new MapEntrySourceContainer(new Path(BUILD_ABSPATH), new Path(SOURCE_ABSPATH)));
|
||||
setSourceContainer(mapContainer);
|
||||
doLaunch();
|
||||
|
||||
// Check file name as returned from back end
|
||||
IFrameDMData frameData = SyncUtil.getFrameData(0, 0);
|
||||
assertFalse("GDB Unexpectedly located the source", Files.exists(Paths.get(frameData.getFile())));
|
||||
|
||||
// Check file as resolved by source lookup director
|
||||
ISourceLookupDirector director = (ISourceLookupDirector) getGDBLaunch().getSourceLocator();
|
||||
IFrameDMContext frameDmc = SyncUtil.getStackFrame(0, 0);
|
||||
Object sourceElement = director.getSourceElement(frameDmc);
|
||||
assertTrue("Source locator failed to find source", sourceElement instanceof IStorage);
|
||||
|
||||
// Check file as resolved by ISourceLookup service
|
||||
sourceElement = SyncUtil.getSource(frameData.getFile());
|
||||
assertTrue("Source Lookup service failed to find source", sourceElement instanceof IStorage);
|
||||
}
|
||||
|
||||
/**
|
||||
* Test with default source locators and a {@link DirectorySourceContainer}
|
||||
* for SOURCE_ABSPATH that GDB does not locate the file, but the source
|
||||
* lookup director and the source lookup service do find the file.
|
||||
*
|
||||
* This test does not work with modern GDBs because the path passed into
|
||||
* DirectorySourceContainer is an absolute path. See versioned test suites.
|
||||
*/
|
||||
@Test
|
||||
public void directorySource() throws Throwable {
|
||||
DirectorySourceContainer container = new DirectorySourceContainer(new Path(SOURCE_ABSPATH), false);
|
||||
setSourceContainer(container);
|
||||
doLaunch();
|
||||
|
||||
// Check file name as returned from back end
|
||||
IFrameDMData frameData = SyncUtil.getFrameData(0, 0);
|
||||
assertFalse("GDB Unexpectedly located the source", Files.exists(Paths.get(frameData.getFile())));
|
||||
|
||||
// Check file as resolved by source lookup director
|
||||
ISourceLookupDirector director = (ISourceLookupDirector) getGDBLaunch().getSourceLocator();
|
||||
IFrameDMContext frameDmc = SyncUtil.getStackFrame(0, 0);
|
||||
Object sourceElement = director.getSourceElement(frameDmc);
|
||||
assertTrue("Source locator failed to find source", sourceElement instanceof IStorage);
|
||||
|
||||
// Check file as resolved by ISourceLookup service
|
||||
sourceElement = SyncUtil.getSource(frameData.getFile());
|
||||
assertTrue("Source Lookup service failed to find source", sourceElement instanceof IStorage);
|
||||
}
|
||||
}
|
|
@ -0,0 +1,37 @@
|
|||
/*******************************************************************************
|
||||
* Copyright (c) 2015 Kichwa Coders 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:
|
||||
* Jonah Graham (Kichwa Coders) - initial API and implementation to Add support for gdb's "set substitute-path" (Bug 472765)
|
||||
*******************************************************************************/
|
||||
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.tests.ITestConstants;
|
||||
import org.eclipse.cdt.tests.dsf.gdb.tests.SourceLookupTest;
|
||||
import org.eclipse.cdt.tests.dsf.gdb.tests.tests_7_6.SourceLookupTest_7_6;
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
|
||||
@RunWith(BackgroundRunner.class)
|
||||
public class SourceLookupTest_6_6 extends SourceLookupTest {
|
||||
@Override
|
||||
protected void setGdbVersion() {
|
||||
setGdbProgramNamesLaunchAttributes(ITestConstants.SUFFIX_GDB_6_6);
|
||||
}
|
||||
|
||||
/**
|
||||
* For details on the ignore, see {@link SourceLookupTest_7_6#sourceMapping()}
|
||||
*/
|
||||
@Ignore("Only works starting with GDB 7.6")
|
||||
@Test
|
||||
@Override
|
||||
public void sourceMapping() throws Throwable {
|
||||
super.sourceMapping();
|
||||
}
|
||||
}
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* Copyright (c) 2009, 2014 Ericsson and others.
|
||||
* Copyright (c) 2009, 2015 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
|
||||
|
@ -8,6 +8,7 @@
|
|||
* Contributors:
|
||||
* Ericsson - Initial Implementation
|
||||
* Alvaro Sanchez-Leon (Ericsson) - Bug 437562 - Split the dsf-gdb tests to a plug-in and fragment pair
|
||||
* Jonah Graham (Kichwa Coders) - Add support for gdb's "set substitute-path" (Bug 472765)
|
||||
*******************************************************************************/
|
||||
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_6_6;
|
||||
|
||||
|
@ -44,6 +45,7 @@ import org.junit.runners.Suite;
|
|||
PostMortemCoreTest_6_6.class,
|
||||
CommandTimeoutTest_6_6.class,
|
||||
StepIntoSelectionTest_6_6.class,
|
||||
SourceLookupTest_6_6.class,
|
||||
/* Add your test class here */
|
||||
})
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* Copyright (c) 2009, 2014 Ericsson and others.
|
||||
* Copyright (c) 2009, 2015 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
|
||||
|
@ -8,6 +8,7 @@
|
|||
* Contributors:
|
||||
* Ericsson - Initial Implementation
|
||||
* Alvaro Sanchez-Leon (Ericsson) - Bug 437562 - Split the dsf-gdb tests to a plug-in and fragment pair
|
||||
* Jonah Graham (Kichwa Coders) - Add support for gdb's "set substitute-path" (Bug 472765)
|
||||
*******************************************************************************/
|
||||
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_6_6;
|
||||
|
||||
|
@ -43,6 +44,7 @@ import org.junit.runners.Suite;
|
|||
OperationsWhileTargetIsRunningTest_6_6.class,
|
||||
CommandTimeoutTest_6_6.class,
|
||||
StepIntoSelectionTest_6_6.class,
|
||||
SourceLookupTest_6_6.class,
|
||||
/* Add your test class here */
|
||||
})
|
||||
|
||||
|
|
|
@ -0,0 +1,24 @@
|
|||
/*******************************************************************************
|
||||
* Copyright (c) 2015 Kichwa Coders 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:
|
||||
* Jonah Graham (Kichwa Coders) - initial API and implementation to Add support for gdb's "set substitute-path" (Bug 472765)
|
||||
*******************************************************************************/
|
||||
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_6_7;
|
||||
|
||||
import org.eclipse.cdt.tests.dsf.gdb.framework.BackgroundRunner;
|
||||
import org.eclipse.cdt.tests.dsf.gdb.tests.ITestConstants;
|
||||
import org.eclipse.cdt.tests.dsf.gdb.tests.tests_6_6.SourceLookupTest_6_6;
|
||||
import org.junit.runner.RunWith;
|
||||
|
||||
@RunWith(BackgroundRunner.class)
|
||||
public class SourceLookupTest_6_7 extends SourceLookupTest_6_6 {
|
||||
@Override
|
||||
protected void setGdbVersion() {
|
||||
setGdbProgramNamesLaunchAttributes(ITestConstants.SUFFIX_GDB_6_7);
|
||||
}
|
||||
}
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* Copyright (c) 2009, 2014 Ericsson and others.
|
||||
* Copyright (c) 2009, 2015 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
|
||||
|
@ -8,6 +8,7 @@
|
|||
* Contributors:
|
||||
* Ericsson - Initial Implementation
|
||||
* Alvaro Sanchez-Leon (Ericsson) - Bug 437562 - Split the dsf-gdb tests to a plug-in and fragment pair
|
||||
* Jonah Graham (Kichwa Coders) - Add support for gdb's "set substitute-path" (Bug 472765)
|
||||
*******************************************************************************/
|
||||
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_6_7;
|
||||
|
||||
|
@ -44,6 +45,7 @@ import org.junit.runners.Suite;
|
|||
PostMortemCoreTest_6_7.class,
|
||||
CommandTimeoutTest_6_7.class,
|
||||
StepIntoSelectionTest_6_7.class,
|
||||
SourceLookupTest_6_7.class,
|
||||
/* Add your test class here */
|
||||
})
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* Copyright (c) 2009, 2014 Ericsson and others.
|
||||
* Copyright (c) 2009, 2015 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
|
||||
|
@ -8,6 +8,7 @@
|
|||
* Contributors:
|
||||
* Ericsson - Initial Implementation
|
||||
* Alvaro Sanchez-Leon (Ericsson) - Bug 437562 - Split the dsf-gdb tests to a plug-in and fragment pair
|
||||
* Jonah Graham (Kichwa Coders) - Add support for gdb's "set substitute-path" (Bug 472765)
|
||||
*******************************************************************************/
|
||||
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_6_7;
|
||||
|
||||
|
@ -43,6 +44,7 @@ import org.junit.runners.Suite;
|
|||
OperationsWhileTargetIsRunningTest_6_7.class,
|
||||
CommandTimeoutTest_6_7.class,
|
||||
StepIntoSelectionTest_6_7.class,
|
||||
SourceLookupTest_6_7.class,
|
||||
/* Add your test class here */
|
||||
})
|
||||
|
||||
|
|
|
@ -0,0 +1,24 @@
|
|||
/*******************************************************************************
|
||||
* Copyright (c) 2015 Kichwa Coders 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:
|
||||
* Jonah Graham (Kichwa Coders) - initial API and implementation to Add support for gdb's "set substitute-path" (Bug 472765)
|
||||
*******************************************************************************/
|
||||
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.tests.ITestConstants;
|
||||
import org.eclipse.cdt.tests.dsf.gdb.tests.tests_6_7.SourceLookupTest_6_7;
|
||||
import org.junit.runner.RunWith;
|
||||
|
||||
@RunWith(BackgroundRunner.class)
|
||||
public class SourceLookupTest_6_8 extends SourceLookupTest_6_7 {
|
||||
@Override
|
||||
protected void setGdbVersion() {
|
||||
setGdbProgramNamesLaunchAttributes(ITestConstants.SUFFIX_GDB_6_8);
|
||||
}
|
||||
}
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* Copyright (c) 2009, 2014 Ericsson and others.
|
||||
* Copyright (c) 2009, 2015 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
|
||||
|
@ -8,6 +8,7 @@
|
|||
* Contributors:
|
||||
* Ericsson - Initial Implementation
|
||||
* Alvaro Sanchez-Leon (Ericsson) - Bug 437562 - Split the dsf-gdb tests to a plug-in and fragment pair
|
||||
* Jonah Graham (Kichwa Coders) - Add support for gdb's "set substitute-path" (Bug 472765)
|
||||
*******************************************************************************/
|
||||
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_6_8;
|
||||
|
||||
|
@ -44,6 +45,7 @@ import org.junit.runners.Suite;
|
|||
PostMortemCoreTest_6_8.class,
|
||||
CommandTimeoutTest_6_8.class,
|
||||
StepIntoSelectionTest_6_8.class,
|
||||
SourceLookupTest_6_8.class,
|
||||
/* Add your test class here */
|
||||
})
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* Copyright (c) 2009, 2014 Ericsson and others.
|
||||
* Copyright (c) 2009, 2015 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
|
||||
|
@ -8,6 +8,7 @@
|
|||
* Contributors:
|
||||
* Ericsson - Initial Implementation
|
||||
* Alvaro Sanchez-Leon (Ericsson) - Bug 437562 - Split the dsf-gdb tests to a plug-in and fragment pair
|
||||
* Jonah Graham (Kichwa Coders) - Add support for gdb's "set substitute-path" (Bug 472765)
|
||||
*******************************************************************************/
|
||||
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_6_8;
|
||||
|
||||
|
@ -43,6 +44,7 @@ import org.junit.runners.Suite;
|
|||
OperationsWhileTargetIsRunningTest_6_8.class,
|
||||
CommandTimeoutTest_6_8.class,
|
||||
StepIntoSelectionTest_6_8.class,
|
||||
SourceLookupTest_6_8.class,
|
||||
/* Add your test class here */
|
||||
})
|
||||
|
||||
|
|
|
@ -0,0 +1,24 @@
|
|||
/*******************************************************************************
|
||||
* Copyright (c) 2015 Kichwa Coders 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:
|
||||
* Jonah Graham (Kichwa Coders) - initial API and implementation to Add support for gdb's "set substitute-path" (Bug 472765)
|
||||
*******************************************************************************/
|
||||
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.tests.ITestConstants;
|
||||
import org.eclipse.cdt.tests.dsf.gdb.tests.tests_6_8.SourceLookupTest_6_8;
|
||||
import org.junit.runner.RunWith;
|
||||
|
||||
@RunWith(BackgroundRunner.class)
|
||||
public class SourceLookupTest_7_0 extends SourceLookupTest_6_8 {
|
||||
@Override
|
||||
protected void setGdbVersion() {
|
||||
setGdbProgramNamesLaunchAttributes(ITestConstants.SUFFIX_GDB_7_0);
|
||||
}
|
||||
}
|
|
@ -9,6 +9,7 @@
|
|||
* Ericsson - Initial Implementation
|
||||
* Alvaro Sanchez-Leon (Ericsson) - Bug 437562 - Split the dsf-gdb tests to a plug-in and fragment pair
|
||||
* Jonah Graham (Kichwa Coders) - Bug 469007 - Add MIExpressionsNonStopTest_7_0 to suite
|
||||
* Jonah Graham (Kichwa Coders) - Add support for gdb's "set substitute-path" (Bug 472765)
|
||||
*******************************************************************************/
|
||||
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_7_0;
|
||||
|
||||
|
@ -50,6 +51,7 @@ import org.junit.runners.Suite;
|
|||
GDBMultiNonStopRunControlTest_7_0.class,
|
||||
StepIntoSelectionTest_7_0.class,
|
||||
StepIntoSelectionNonStopTest_7_0.class,
|
||||
SourceLookupTest_7_0.class,
|
||||
/* Add your test class here */
|
||||
})
|
||||
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
* Ericsson - Initial Implementation
|
||||
* Alvaro Sanchez-Leon (Ericsson) - Bug 437562 - Split the dsf-gdb tests to a plug-in and fragment pair
|
||||
* Jonah Graham (Kichwa Coders) - Bug 469007 - Add MIExpressionsNonStopTest_7_0 to suite
|
||||
* Jonah Graham (Kichwa Coders) - Add support for gdb's "set substitute-path" (Bug 472765)
|
||||
*******************************************************************************/
|
||||
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_7_0;
|
||||
|
||||
|
@ -50,6 +51,7 @@ import org.junit.runners.Suite;
|
|||
GDBMultiNonStopRunControlTest_7_0.class,
|
||||
StepIntoSelectionTest_7_0.class,
|
||||
StepIntoSelectionNonStopTest_7_0.class,
|
||||
SourceLookupTest_7_0.class,
|
||||
/* Add your test class here */
|
||||
})
|
||||
|
||||
|
|
|
@ -0,0 +1,24 @@
|
|||
/*******************************************************************************
|
||||
* Copyright (c) 2015 Kichwa Coders 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:
|
||||
* Jonah Graham (Kichwa Coders) - initial API and implementation to Add support for gdb's "set substitute-path" (Bug 472765)
|
||||
*******************************************************************************/
|
||||
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.SourceLookupTest_7_0;
|
||||
import org.junit.runner.RunWith;
|
||||
|
||||
@RunWith(BackgroundRunner.class)
|
||||
public class SourceLookupTest_7_1 extends SourceLookupTest_7_0 {
|
||||
@Override
|
||||
protected void setGdbVersion() {
|
||||
setGdbProgramNamesLaunchAttributes(ITestConstants.SUFFIX_GDB_7_1);
|
||||
}
|
||||
}
|
|
@ -9,6 +9,7 @@
|
|||
* Ericsson - Initial Implementation
|
||||
* Alvaro Sanchez-Leon (Ericsson) - Bug 437562 - Split the dsf-gdb tests to a plug-in and fragment pair
|
||||
* Jonah Graham (Kichwa Coders) - Bug 469007 - Add MIExpressionsNonStopTest_7_1 to suite
|
||||
* Jonah Graham (Kichwa Coders) - Add support for gdb's "set substitute-path" (Bug 472765)
|
||||
*******************************************************************************/
|
||||
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_7_1;
|
||||
|
||||
|
@ -50,6 +51,7 @@ import org.junit.runners.Suite;
|
|||
GDBMultiNonStopRunControlTest_7_1.class,
|
||||
StepIntoSelectionTest_7_1.class,
|
||||
StepIntoSelectionNonStopTest_7_1.class,
|
||||
SourceLookupTest_7_1.class,
|
||||
/* Add your test class here */
|
||||
})
|
||||
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
* Ericsson - Initial Implementation
|
||||
* Alvaro Sanchez-Leon (Ericsson) - Bug 437562 - Split the dsf-gdb tests to a plug-in and fragment pair
|
||||
* Jonah Graham (Kichwa Coders) - Bug 469007 - Add MIExpressionsNonStopTest_7_1 to suite
|
||||
* Jonah Graham (Kichwa Coders) - Add support for gdb's "set substitute-path" (Bug 472765)
|
||||
*******************************************************************************/
|
||||
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_7_1;
|
||||
|
||||
|
@ -50,6 +51,7 @@ import org.junit.runners.Suite;
|
|||
GDBMultiNonStopRunControlTest_7_1.class,
|
||||
StepIntoSelectionTest_7_1.class,
|
||||
StepIntoSelectionNonStopTest_7_1.class,
|
||||
SourceLookupTest_7_1.class,
|
||||
/* Add your test class here */
|
||||
})
|
||||
|
||||
|
|
|
@ -0,0 +1,24 @@
|
|||
/*******************************************************************************
|
||||
* Copyright (c) 2015 Kichwa Coders 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:
|
||||
* Jonah Graham (Kichwa Coders) - initial API and implementation to Add support for gdb's "set substitute-path" (Bug 472765)
|
||||
*******************************************************************************/
|
||||
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_7_10;
|
||||
|
||||
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_9.SourceLookupTest_7_9;
|
||||
import org.junit.runner.RunWith;
|
||||
|
||||
@RunWith(BackgroundRunner.class)
|
||||
public class SourceLookupTest_7_10 extends SourceLookupTest_7_9 {
|
||||
@Override
|
||||
protected void setGdbVersion() {
|
||||
setGdbProgramNamesLaunchAttributes(ITestConstants.SUFFIX_GDB_7_10);
|
||||
}
|
||||
}
|
|
@ -8,6 +8,7 @@
|
|||
* Contributors:
|
||||
* Marc Khouzam (Ericsson) - Initial implementation of Test cases
|
||||
* Jonah Graham (Kichwa Coders) - Bug 469007 - Add MIExpressionsNonStopTest_7_10 to suite
|
||||
* Jonah Graham (Kichwa Coders) - Add support for gdb's "set substitute-path" (Bug 472765)
|
||||
*******************************************************************************/
|
||||
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_7_10;
|
||||
|
||||
|
@ -51,6 +52,7 @@ import org.junit.runners.Suite;
|
|||
GDBConsoleSynchronizingTest_7_10.class,
|
||||
StepIntoSelectionTest_7_10.class,
|
||||
StepIntoSelectionNonStopTest_7_10.class,
|
||||
SourceLookupTest_7_10.class,
|
||||
/* Add your test class here */
|
||||
})
|
||||
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
* Contributors:
|
||||
* Marc Khouzam (Ericsson) - Initial implementation of Test cases
|
||||
* Jonah Graham (Kichwa Coders) - Bug 469007 - Add MIExpressionsNonStopTest_7_10 to suite
|
||||
* Jonah Graham (Kichwa Coders) - Add support for gdb's "set substitute-path" (Bug 472765)
|
||||
*******************************************************************************/
|
||||
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_7_10;
|
||||
|
||||
|
@ -52,6 +53,7 @@ import org.junit.runners.Suite;
|
|||
GDBConsoleSynchronizingTest_7_10.class,
|
||||
StepIntoSelectionTest_7_10.class,
|
||||
StepIntoSelectionNonStopTest_7_10.class,
|
||||
SourceLookupTest_7_10.class,
|
||||
/* Add your test class here */
|
||||
})
|
||||
|
||||
|
|
|
@ -0,0 +1,24 @@
|
|||
/*******************************************************************************
|
||||
* Copyright (c) 2015 Kichwa Coders 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:
|
||||
* Jonah Graham (Kichwa Coders) - initial API and implementation to Add support for gdb's "set substitute-path" (Bug 472765)
|
||||
*******************************************************************************/
|
||||
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.SourceLookupTest_7_1;
|
||||
import org.junit.runner.RunWith;
|
||||
|
||||
@RunWith(BackgroundRunner.class)
|
||||
public class SourceLookupTest_7_2 extends SourceLookupTest_7_1 {
|
||||
@Override
|
||||
protected void setGdbVersion() {
|
||||
setGdbProgramNamesLaunchAttributes(ITestConstants.SUFFIX_GDB_7_2);
|
||||
}
|
||||
}
|
|
@ -9,6 +9,7 @@
|
|||
* Ericsson - Initial Implementation
|
||||
* Alvaro Sanchez-Leon (Ericsson) - Bug 437562 - Split the dsf-gdb tests to a plug-in and fragment pair
|
||||
* Jonah Graham (Kichwa Coders) - Bug 469007 - Add MIExpressionsNonStopTest_7_2 to suite
|
||||
* Jonah Graham (Kichwa Coders) - Add support for gdb's "set substitute-path" (Bug 472765)
|
||||
*******************************************************************************/
|
||||
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_7_2;
|
||||
|
||||
|
@ -50,6 +51,7 @@ import org.junit.runners.Suite;
|
|||
GDBMultiNonStopRunControlTest_7_2.class,
|
||||
StepIntoSelectionTest_7_2.class,
|
||||
StepIntoSelectionNonStopTest_7_2.class,
|
||||
SourceLookupTest_7_2.class,
|
||||
/* Add your test class here */
|
||||
})
|
||||
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
* Ericsson - Initial Implementation
|
||||
* Alvaro Sanchez-Leon (Ericsson) - Bug 437562 - Split the dsf-gdb tests to a plug-in and fragment pair
|
||||
* Jonah Graham (Kichwa Coders) - Bug 469007 - Add MIExpressionsNonStopTest_7_2 to suite
|
||||
* Jonah Graham (Kichwa Coders) - Add support for gdb's "set substitute-path" (Bug 472765)
|
||||
*******************************************************************************/
|
||||
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_7_2;
|
||||
|
||||
|
@ -50,6 +51,7 @@ import org.junit.runners.Suite;
|
|||
GDBMultiNonStopRunControlTest_7_2.class,
|
||||
StepIntoSelectionTest_7_2.class,
|
||||
StepIntoSelectionNonStopTest_7_2.class,
|
||||
SourceLookupTest_7_2.class,
|
||||
/* Add your test class here */
|
||||
})
|
||||
|
||||
|
|
|
@ -0,0 +1,24 @@
|
|||
/*******************************************************************************
|
||||
* Copyright (c) 2015 Kichwa Coders 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:
|
||||
* Jonah Graham (Kichwa Coders) - initial API and implementation to Add support for gdb's "set substitute-path" (Bug 472765)
|
||||
*******************************************************************************/
|
||||
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_7_3;
|
||||
|
||||
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_2.SourceLookupTest_7_2;
|
||||
import org.junit.runner.RunWith;
|
||||
|
||||
@RunWith(BackgroundRunner.class)
|
||||
public class SourceLookupTest_7_3 extends SourceLookupTest_7_2 {
|
||||
@Override
|
||||
protected void setGdbVersion() {
|
||||
setGdbProgramNamesLaunchAttributes(ITestConstants.SUFFIX_GDB_7_3);
|
||||
}
|
||||
}
|
|
@ -9,6 +9,7 @@
|
|||
* Ericsson - Initial Implementation
|
||||
* Alvaro Sanchez-Leon (Ericsson) - Bug 437562 - Split the dsf-gdb tests to a plug-in and fragment pair
|
||||
* Jonah Graham (Kichwa Coders) - Bug 469007 - Add MIExpressionsNonStopTest_7_3 to suite
|
||||
* Jonah Graham (Kichwa Coders) - Add support for gdb's "set substitute-path" (Bug 472765)
|
||||
*******************************************************************************/
|
||||
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_7_3;
|
||||
|
||||
|
@ -50,6 +51,7 @@ import org.junit.runners.Suite;
|
|||
GDBMultiNonStopRunControlTest_7_3.class,
|
||||
StepIntoSelectionTest_7_3.class,
|
||||
StepIntoSelectionNonStopTest_7_3.class,
|
||||
SourceLookupTest_7_3.class,
|
||||
/* Add your test class here */
|
||||
})
|
||||
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
* Ericsson - Initial Implementation
|
||||
* Alvaro Sanchez-Leon (Ericsson) - Bug 437562 - Split the dsf-gdb tests to a plug-in and fragment pair
|
||||
* Jonah Graham (Kichwa Coders) - Bug 469007 - Add MIExpressionsNonStopTest_7_3 to suite
|
||||
* Jonah Graham (Kichwa Coders) - Add support for gdb's "set substitute-path" (Bug 472765)
|
||||
*******************************************************************************/
|
||||
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_7_3;
|
||||
|
||||
|
@ -50,6 +51,7 @@ import org.junit.runners.Suite;
|
|||
GDBMultiNonStopRunControlTest_7_3.class,
|
||||
StepIntoSelectionTest_7_3.class,
|
||||
StepIntoSelectionNonStopTest_7_3.class,
|
||||
SourceLookupTest_7_3.class,
|
||||
/* Add your test class here */
|
||||
})
|
||||
|
||||
|
|
|
@ -0,0 +1,24 @@
|
|||
/*******************************************************************************
|
||||
* Copyright (c) 2015 Kichwa Coders 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:
|
||||
* Jonah Graham (Kichwa Coders) - initial API and implementation to Add support for gdb's "set substitute-path" (Bug 472765)
|
||||
*******************************************************************************/
|
||||
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_7_4;
|
||||
|
||||
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_3.SourceLookupTest_7_3;
|
||||
import org.junit.runner.RunWith;
|
||||
|
||||
@RunWith(BackgroundRunner.class)
|
||||
public class SourceLookupTest_7_4 extends SourceLookupTest_7_3 {
|
||||
@Override
|
||||
protected void setGdbVersion() {
|
||||
setGdbProgramNamesLaunchAttributes(ITestConstants.SUFFIX_GDB_7_4);
|
||||
}
|
||||
}
|
|
@ -9,6 +9,7 @@
|
|||
* Marc Khouzam (Ericsson) - Initial implementation of Test cases
|
||||
* Alvaro Sanchez-Leon (Ericsson) - Bug 437562 - Split the dsf-gdb tests to a plug-in and fragment pair
|
||||
* Jonah Graham (Kichwa Coders) - Bug 469007 - Add MIExpressionsNonStopTest_7_4 to suite
|
||||
* Jonah Graham (Kichwa Coders) - Add support for gdb's "set substitute-path" (Bug 472765)
|
||||
*******************************************************************************/
|
||||
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_7_4;
|
||||
|
||||
|
@ -51,6 +52,7 @@ import org.junit.runners.Suite;
|
|||
GDBConsoleBreakpointsTest_7_4.class,
|
||||
StepIntoSelectionTest_7_4.class,
|
||||
StepIntoSelectionNonStopTest_7_4.class,
|
||||
SourceLookupTest_7_4.class,
|
||||
/* Add your test class here */
|
||||
})
|
||||
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
* Marc Khouzam (Ericsson) - Initial implementation of Test cases
|
||||
* Alvaro Sanchez-Leon (Ericsson) - Bug 437562 - Split the dsf-gdb tests to a plug-in and fragment pair
|
||||
* Jonah Graham (Kichwa Coders) - Bug 469007 - Add MIExpressionsNonStopTest_7_4 to suite
|
||||
* Jonah Graham (Kichwa Coders) - Add support for gdb's "set substitute-path" (Bug 472765)
|
||||
*******************************************************************************/
|
||||
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_7_4;
|
||||
|
||||
|
@ -52,6 +53,7 @@ import org.junit.runners.Suite;
|
|||
TraceFileTest_7_4.class,
|
||||
StepIntoSelectionTest_7_4.class,
|
||||
StepIntoSelectionNonStopTest_7_4.class,
|
||||
SourceLookupTest_7_4.class,
|
||||
/* Add your test class here */
|
||||
})
|
||||
|
||||
|
|
|
@ -0,0 +1,24 @@
|
|||
/*******************************************************************************
|
||||
* Copyright (c) 2015 Kichwa Coders 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:
|
||||
* Jonah Graham (Kichwa Coders) - initial API and implementation to Add support for gdb's "set substitute-path" (Bug 472765)
|
||||
*******************************************************************************/
|
||||
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_7_5;
|
||||
|
||||
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_4.SourceLookupTest_7_4;
|
||||
import org.junit.runner.RunWith;
|
||||
|
||||
@RunWith(BackgroundRunner.class)
|
||||
public class SourceLookupTest_7_5 extends SourceLookupTest_7_4 {
|
||||
@Override
|
||||
protected void setGdbVersion() {
|
||||
setGdbProgramNamesLaunchAttributes(ITestConstants.SUFFIX_GDB_7_5);
|
||||
}
|
||||
}
|
|
@ -9,6 +9,7 @@
|
|||
* Marc Khouzam (Ericsson) - Initial implementation of Test cases
|
||||
* Alvaro Sanchez-Leon (Ericsson) - Bug 437562 - Split the dsf-gdb tests to a plug-in and fragment pair
|
||||
* Jonah Graham (Kichwa Coders) - Bug 469007 - Add MIExpressionsNonStopTest_7_5 to suite
|
||||
* Jonah Graham (Kichwa Coders) - Add support for gdb's "set substitute-path" (Bug 472765)
|
||||
*******************************************************************************/
|
||||
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_7_5;
|
||||
|
||||
|
@ -51,6 +52,7 @@ import org.junit.runners.Suite;
|
|||
GDBConsoleBreakpointsTest_7_5.class,
|
||||
StepIntoSelectionTest_7_5.class,
|
||||
StepIntoSelectionNonStopTest_7_5.class,
|
||||
SourceLookupTest_7_5.class,
|
||||
/* Add your test class here */
|
||||
})
|
||||
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
* Marc Khouzam (Ericsson) - Initial implementation of Test cases
|
||||
* Alvaro Sanchez-Leon (Ericsson) - Bug 437562 - Split the dsf-gdb tests to a plug-in and fragment pair
|
||||
* Jonah Graham (Kichwa Coders) - Bug 469007 - Add MIExpressionsNonStopTest_7_5 to suite
|
||||
* Jonah Graham (Kichwa Coders) - Add support for gdb's "set substitute-path" (Bug 472765)
|
||||
*******************************************************************************/
|
||||
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_7_5;
|
||||
|
||||
|
@ -52,6 +53,7 @@ import org.junit.runners.Suite;
|
|||
TraceFileTest_7_5.class,
|
||||
StepIntoSelectionTest_7_5.class,
|
||||
StepIntoSelectionNonStopTest_7_5.class,
|
||||
SourceLookupTest_7_5.class,
|
||||
/* Add your test class here */
|
||||
})
|
||||
|
||||
|
|
|
@ -0,0 +1,78 @@
|
|||
/*******************************************************************************
|
||||
* Copyright (c) 2015 Kichwa Coders 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:
|
||||
* Jonah Graham (Kichwa Coders) - initial API and implementation to Add support for gdb's "set substitute-path" (Bug 472765)
|
||||
*******************************************************************************/
|
||||
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_7_6;
|
||||
|
||||
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_5.SourceLookupTest_7_5;
|
||||
import org.eclipse.debug.core.sourcelookup.ISourceContainer;
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
|
||||
@RunWith(BackgroundRunner.class)
|
||||
public class SourceLookupTest_7_6 extends SourceLookupTest_7_5 {
|
||||
@Override
|
||||
protected void setGdbVersion() {
|
||||
setGdbProgramNamesLaunchAttributes(ITestConstants.SUFFIX_GDB_7_6);
|
||||
}
|
||||
|
||||
/**
|
||||
* Supported starting in GDB >= 7.6 because DSF is using the full path name
|
||||
* to pass to the {@link ISourceContainer#findSourceElements(String)}. In
|
||||
* versions prior to 7.6 the fullname field was not returned from GDB if the
|
||||
* file was not found by GDB. See
|
||||
* https://sourceware.org/ml/gdb-patches/2012-12/msg00557.html.
|
||||
*
|
||||
* Therefore in version < 7.5 the MI frame info has file="SourceLookup.cc"
|
||||
* and no fullname field. This means there is no path to source map against.
|
||||
*
|
||||
* In version >= 7.6 the MI frame info has file="SourceLookup.cc",fullname=
|
||||
* "<cdt.git path>/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/data/launch/build/SourceLookup.cc"
|
||||
* fields, so there is a path to do the mapping against. Recall that the
|
||||
* test maps
|
||||
* "<cdt.git path>/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/data/launch/build"
|
||||
* to "<cdt.git path>/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/data/launch/src"
|
||||
*/
|
||||
@Test
|
||||
@Override
|
||||
public void sourceMapping() throws Throwable {
|
||||
super.sourceMapping();
|
||||
}
|
||||
|
||||
/**
|
||||
* Not supported in GDB >= 7.6 because DSF is using the full path name to
|
||||
* pass to the {@link ISourceContainer#findSourceElements(String)}. In
|
||||
* versions prior to 7.6 the fullname field was not returned from GDB if the
|
||||
* file was not found by GDB. See
|
||||
* https://sourceware.org/ml/gdb-patches/2012-12/msg00557.html
|
||||
*
|
||||
* Therefore in version < 7.5 the MI frame info has file="SourceLookup.cc"
|
||||
* and no fullname field. This means that "SourceLookup.cc" gets passed to
|
||||
* DirectorySourceContainer.findSourceElements(String), the container
|
||||
* prepends the directory name and finds the source.
|
||||
*
|
||||
* In version >= 7.6 the MI frame info has file="SourceLookup.cc",fullname=
|
||||
* "<cdt.git path>/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/data/launch/build/SourceLookup.cc"
|
||||
* As a result the fullname is passed to
|
||||
* DirectorySourceContainer.findSourceElements(String), the container
|
||||
* prepends the directory name and as a result does not find the source.
|
||||
* What DirectorySourceContainer does is a file exists on:
|
||||
* "<cdt.git path>/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/data/launch/src/<cdt.git path>/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/data/launch/build/SourceLookup.cc"
|
||||
* which obviously does not exist.
|
||||
*/
|
||||
@Ignore("Not supported in GDB >= 7.6 because DSF is using the full path name to pass to the ISourceContainer.findSourceElements")
|
||||
@Test
|
||||
@Override
|
||||
public void directorySource() throws Throwable {
|
||||
super.directorySource();
|
||||
}
|
||||
}
|
|
@ -9,6 +9,7 @@
|
|||
* Marc Khouzam (Ericsson) - Initial implementation of Test cases
|
||||
* Alvaro Sanchez-Leon (Ericsson) - Bug 437562 - Split the dsf-gdb tests to a plug-in and fragment pair
|
||||
* Jonah Graham (Kichwa Coders) - Bug 469007 - Add MIExpressionsNonStopTest_7_6 to suite
|
||||
* Jonah Graham (Kichwa Coders) - Add support for gdb's "set substitute-path" (Bug 472765)
|
||||
*******************************************************************************/
|
||||
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_7_6;
|
||||
|
||||
|
@ -52,6 +53,7 @@ import org.junit.runners.Suite;
|
|||
GDBConsoleSynchronizingTest_7_6.class,
|
||||
StepIntoSelectionTest_7_6.class,
|
||||
StepIntoSelectionNonStopTest_7_6.class,
|
||||
SourceLookupTest_7_6.class,
|
||||
/* Add your test class here */
|
||||
})
|
||||
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
* Marc Khouzam (Ericsson) - Initial implementation of Test cases
|
||||
* Alvaro Sanchez-Leon (Ericsson) - Bug 437562 - Split the dsf-gdb tests to a plug-in and fragment pair
|
||||
* Jonah Graham (Kichwa Coders) - Bug 469007 - Add MIExpressionsNonStopTest_7_6 to suite
|
||||
* Jonah Graham (Kichwa Coders) - Add support for gdb's "set substitute-path" (Bug 472765)
|
||||
*******************************************************************************/
|
||||
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_7_6;
|
||||
|
||||
|
@ -53,6 +54,7 @@ import org.junit.runners.Suite;
|
|||
GDBConsoleSynchronizingTest_7_6.class,
|
||||
StepIntoSelectionTest_7_6.class,
|
||||
StepIntoSelectionNonStopTest_7_6.class,
|
||||
SourceLookupTest_7_6.class,
|
||||
/* Add your test class here */
|
||||
})
|
||||
|
||||
|
|
|
@ -0,0 +1,24 @@
|
|||
/*******************************************************************************
|
||||
* Copyright (c) 2015 Kichwa Coders 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:
|
||||
* Jonah Graham (Kichwa Coders) - initial API and implementation to Add support for gdb's "set substitute-path" (Bug 472765)
|
||||
*******************************************************************************/
|
||||
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_7_7;
|
||||
|
||||
import org.eclipse.cdt.tests.dsf.gdb.framework.BackgroundRunner;
|
||||
import org.eclipse.cdt.tests.dsf.gdb.tests.ITestConstants;
|
||||
import org.eclipse.cdt.tests.dsf.gdb.tests.tests_7_6.SourceLookupTest_7_6;
|
||||
import org.junit.runner.RunWith;
|
||||
|
||||
@RunWith(BackgroundRunner.class)
|
||||
public class SourceLookupTest_7_7 extends SourceLookupTest_7_6 {
|
||||
@Override
|
||||
protected void setGdbVersion() {
|
||||
setGdbProgramNamesLaunchAttributes(ITestConstants.SUFFIX_GDB_7_7);
|
||||
}
|
||||
}
|
|
@ -9,6 +9,7 @@
|
|||
* Marc Khouzam (Ericsson) - Initial implementation of Test cases
|
||||
* Alvaro Sanchez-Leon (Ericsson) - Bug 437562 - Split the dsf-gdb tests to a plug-in and fragment pair
|
||||
* Jonah Graham (Kichwa Coders) - Bug 469007 - Add MIExpressionsNonStopTest_7_7 to suite
|
||||
* Jonah Graham (Kichwa Coders) - Add support for gdb's "set substitute-path" (Bug 472765)
|
||||
*******************************************************************************/
|
||||
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_7_7;
|
||||
|
||||
|
@ -52,6 +53,7 @@ import org.junit.runners.Suite;
|
|||
GDBConsoleSynchronizingTest_7_7.class,
|
||||
StepIntoSelectionTest_7_7.class,
|
||||
StepIntoSelectionNonStopTest_7_7.class,
|
||||
SourceLookupTest_7_7.class,
|
||||
/* Add your test class here */
|
||||
})
|
||||
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
* Marc Khouzam (Ericsson) - Initial implementation of Test cases
|
||||
* Alvaro Sanchez-Leon (Ericsson) - Bug 437562 - Split the dsf-gdb tests to a plug-in and fragment pair
|
||||
* Jonah Graham (Kichwa Coders) - Bug 469007 - Add MIExpressionsNonStopTest_7_7 to suite
|
||||
* Jonah Graham (Kichwa Coders) - Add support for gdb's "set substitute-path" (Bug 472765)
|
||||
*******************************************************************************/
|
||||
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_7_7;
|
||||
|
||||
|
@ -53,6 +54,7 @@ import org.junit.runners.Suite;
|
|||
GDBConsoleSynchronizingTest_7_7.class,
|
||||
StepIntoSelectionTest_7_7.class,
|
||||
StepIntoSelectionNonStopTest_7_7.class,
|
||||
SourceLookupTest_7_7.class,
|
||||
/* Add your test class here */
|
||||
})
|
||||
|
||||
|
|
|
@ -0,0 +1,24 @@
|
|||
/*******************************************************************************
|
||||
* Copyright (c) 2015 Kichwa Coders 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:
|
||||
* Jonah Graham (Kichwa Coders) - initial API and implementation to Add support for gdb's "set substitute-path" (Bug 472765)
|
||||
*******************************************************************************/
|
||||
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_7_8;
|
||||
|
||||
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_7.SourceLookupTest_7_7;
|
||||
import org.junit.runner.RunWith;
|
||||
|
||||
@RunWith(BackgroundRunner.class)
|
||||
public class SourceLookupTest_7_8 extends SourceLookupTest_7_7 {
|
||||
@Override
|
||||
protected void setGdbVersion() {
|
||||
setGdbProgramNamesLaunchAttributes(ITestConstants.SUFFIX_GDB_7_8);
|
||||
}
|
||||
}
|
|
@ -9,6 +9,7 @@
|
|||
* Marc Khouzam (Ericsson) - Initial implementation of Test cases
|
||||
* Alvaro Sanchez-Leon (Ericsson) - Bug 437562 - Split the dsf-gdb tests to a plug-in and fragment pair
|
||||
* Jonah Graham (Kichwa Coders) - Bug 469007 - Add MIExpressionsNonStopTest_7_8 to suite
|
||||
* Jonah Graham (Kichwa Coders) - Add support for gdb's "set substitute-path" (Bug 472765)
|
||||
*******************************************************************************/
|
||||
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_7_8;
|
||||
|
||||
|
@ -52,6 +53,7 @@ import org.junit.runners.Suite;
|
|||
GDBConsoleSynchronizingTest_7_8.class,
|
||||
StepIntoSelectionTest_7_8.class,
|
||||
StepIntoSelectionNonStopTest_7_8.class,
|
||||
SourceLookupTest_7_8.class,
|
||||
/* Add your test class here */
|
||||
})
|
||||
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
* Marc Khouzam (Ericsson) - Initial implementation of Test cases
|
||||
* Alvaro Sanchez-Leon (Ericsson) - Bug 437562 - Split the dsf-gdb tests to a plug-in and fragment pair
|
||||
* Jonah Graham (Kichwa Coders) - Bug 469007 - Add MIExpressionsNonStopTest_7_8 to suite
|
||||
* Jonah Graham (Kichwa Coders) - Add support for gdb's "set substitute-path" (Bug 472765)
|
||||
*******************************************************************************/
|
||||
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_7_8;
|
||||
|
||||
|
@ -53,6 +54,7 @@ import org.junit.runners.Suite;
|
|||
GDBConsoleSynchronizingTest_7_8.class,
|
||||
StepIntoSelectionTest_7_8.class,
|
||||
StepIntoSelectionNonStopTest_7_8.class,
|
||||
SourceLookupTest_7_8.class,
|
||||
/* Add your test class here */
|
||||
})
|
||||
|
||||
|
|
|
@ -0,0 +1,24 @@
|
|||
/*******************************************************************************
|
||||
* Copyright (c) 2015 Kichwa Coders 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:
|
||||
* Jonah Graham (Kichwa Coders) - initial API and implementation to Add support for gdb's "set substitute-path" (Bug 472765)
|
||||
*******************************************************************************/
|
||||
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_7_9;
|
||||
|
||||
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_8.SourceLookupTest_7_8;
|
||||
import org.junit.runner.RunWith;
|
||||
|
||||
@RunWith(BackgroundRunner.class)
|
||||
public class SourceLookupTest_7_9 extends SourceLookupTest_7_8 {
|
||||
@Override
|
||||
protected void setGdbVersion() {
|
||||
setGdbProgramNamesLaunchAttributes(ITestConstants.SUFFIX_GDB_7_9);
|
||||
}
|
||||
}
|
|
@ -8,6 +8,7 @@
|
|||
* Contributors:
|
||||
* Marc Khouzam (Ericsson) - Initial implementation of Test cases
|
||||
* Jonah Graham (Kichwa Coders) - Bug 469007 - Add MIExpressionsNonStopTest_7_9 to suite
|
||||
* Jonah Graham (Kichwa Coders) - Add support for gdb's "set substitute-path" (Bug 472765)
|
||||
*******************************************************************************/
|
||||
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_7_9;
|
||||
|
||||
|
@ -51,6 +52,7 @@ import org.junit.runners.Suite;
|
|||
GDBConsoleSynchronizingTest_7_9.class,
|
||||
StepIntoSelectionTest_7_9.class,
|
||||
StepIntoSelectionNonStopTest_7_9.class,
|
||||
SourceLookupTest_7_9.class,
|
||||
/* Add your test class here */
|
||||
})
|
||||
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
* Contributors:
|
||||
* Marc Khouzam (Ericsson) - Initial implementation of Test cases
|
||||
* Jonah Graham (Kichwa Coders) - Bug 469007 - Add MIExpressionsNonStopTest_7_9 to suite
|
||||
* Jonah Graham (Kichwa Coders) - Add support for gdb's "set substitute-path" (Bug 472765)
|
||||
*******************************************************************************/
|
||||
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_7_9;
|
||||
|
||||
|
@ -52,6 +53,7 @@ import org.junit.runners.Suite;
|
|||
GDBConsoleSynchronizingTest_7_9.class,
|
||||
StepIntoSelectionTest_7_9.class,
|
||||
StepIntoSelectionNonStopTest_7_9.class,
|
||||
SourceLookupTest_7_9.class,
|
||||
/* Add your test class here */
|
||||
})
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue