1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

bug 292003: JUnit failure: managedbuilder testLinkedFolder intermittently fails

Extra check for deleted folder is not helpful
This commit is contained in:
Andrew Gvozdev 2009-11-20 04:43:44 +00:00
parent e4c5888fca
commit 2fee5bf8ab

View file

@ -839,9 +839,7 @@ public class ManagedBuildTestHelper {
Assert.fail("Temporary sub-directory cannot be the empty string.");
} else {
File tmpSrcDirFile = tmpSrcDir.toFile();
if (!tmpSrcDirFile.exists()) {
Assert.fail("Temporary directory " + tmpSrcDirFile.toString() + " does not exist.");
} else {
if (tmpSrcDirFile.exists()) {
for (int i=0; i<files.length; i++) {
// Delete the file
IPath thisFile = tmpSrcDir.append(files[i]);