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:
parent
e4c5888fca
commit
2fee5bf8ab
1 changed files with 1 additions and 3 deletions
|
@ -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]);
|
||||
|
|
Loading…
Add table
Reference in a new issue