diff --git a/build/org.eclipse.cdt.managedbuilder.core.tests/suite/org/eclipse/cdt/managedbuilder/testplugin/ManagedBuildTestHelper.java b/build/org.eclipse.cdt.managedbuilder.core.tests/suite/org/eclipse/cdt/managedbuilder/testplugin/ManagedBuildTestHelper.java index 1c167c45146..fb5e1e15854 100644 --- a/build/org.eclipse.cdt.managedbuilder.core.tests/suite/org/eclipse/cdt/managedbuilder/testplugin/ManagedBuildTestHelper.java +++ b/build/org.eclipse.cdt.managedbuilder.core.tests/suite/org/eclipse/cdt/managedbuilder/testplugin/ManagedBuildTestHelper.java @@ -403,7 +403,7 @@ public class ManagedBuildTestHelper { IPath benchmarkFileLocation = benchmarkLocationBase.append("Benchmarks").append(files[i]); if (isMakefile(testFileLocation)) { if (compareMakefiles(testFileLocation, benchmarkFileLocation)) { - return true; + continue; } } StringBuffer testBuffer = readContentsStripLineEnds(project, testFileLocation); @@ -584,8 +584,8 @@ public class ManagedBuildTestHelper { } static public boolean compareBenchmarks(IFile tFile, IFile bmFile) { - IPath tFileLocation = new Path(tFile.toString()); - IPath bmFileLocation = new Path(bmFile.toString()); + IPath tFileLocation = tFile.getLocation(); + IPath bmFileLocation = bmFile.getLocation(); if (isMakefile(tFileLocation)) { if (compareMakefiles(tFileLocation, bmFileLocation)) { return true;