mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Bug 303953 - Deleted linked resource in managed project is still being built.
- Fix test on Windows.
This commit is contained in:
parent
741eb6dd08
commit
b5742a5a4c
1 changed files with 3 additions and 1 deletions
|
@ -51,6 +51,8 @@ import org.eclipse.core.runtime.jobs.Job;
|
|||
* </ul>
|
||||
*/
|
||||
public abstract class AbstractBuilderTest extends TestCase {
|
||||
private static final boolean WINDOWS = java.io.File.separatorChar == '\\';
|
||||
|
||||
static final String PATH = "builderTests";
|
||||
|
||||
private String workspace;
|
||||
|
@ -136,7 +138,7 @@ public abstract class AbstractBuilderTest extends TestCase {
|
|||
Collection<IResource> resources = getProjectBuildResources(projectName, cfgName, objs);
|
||||
IProject project = getWorkspace().getRoot().getProject(projectName);
|
||||
IFolder buildDir = project.getFolder(cfgName);
|
||||
resources.add(buildDir.getFile(projectName));
|
||||
resources.add(buildDir.getFile(projectName + (WINDOWS ? ".exe" : "")));
|
||||
return resources;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue