Skip to content

Commit 13cc594

Browse files
author
jantje
committed
#1219 axf files do not use [project name].axf
1 parent c67fa90 commit 13cc594

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

io.sloeber.tests/src/io/sloeber/core/Shared.java

+5-3
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,15 @@ public static boolean hasBuildErrors(IProject project) throws CoreException {
6161
}
6262
}
6363
IPath resultPath = project.getLocation().append("Release");
64-
String[] validExtensions= {".elf",".bin",".hex",".exe",".axf"};
65-
for(String validExtension:validExtensions) {
66-
File validFile = resultPath.append(project.getName() + validExtension).toFile();
64+
String projName=project.getName() ;
65+
String[] validOutputss= {projName+".elf",projName+".bin",projName+".hex",".exe","application.axf"};
66+
for(String validOutput:validOutputss) {
67+
File validFile = resultPath.append( validOutput).toFile();
6768
if (validFile.exists()) {
6869
return false;
6970
}
7071
}
72+
7173
return true;
7274
}
7375

0 commit comments

Comments
 (0)