no message

This commit is contained in:
2024-10-08 22:33:49 +03:00
parent 90546fc62e
commit e0974fe4a8
246 changed files with 1170 additions and 849 deletions

View File

@@ -16,7 +16,7 @@ public class GCOV extends Precompilation {
return new File(workspace, getBinaryName());
}
protected String getBinaryName() {
return CommonUtils.isWindows ? "0.exe" : "0";
return CommonUtils.isWindows() ? "0.exe" : "0";
}
@Override
public boolean needsConfirmations() {
@@ -67,7 +67,7 @@ public class GCOV extends Precompilation {
if (getBinary().exists()) {
ShowMessage1("Запуск для GCOV");
name_to_kill = "0.exe";
StartProcess(CommonUtils.isWindows?"0.exe":"./0", target.run_maxtime);
StartProcess(CommonUtils.isWindows()?"0.exe":"./0", target.run_maxtime);
target.updateRunOut(output);
} else {
Log.Writeln_("Не удалось собрать проект.");
@@ -93,7 +93,7 @@ public class GCOV extends Precompilation {
target.db.Update(file);
File targetGcov = Paths.get(
target.getGCOVDirectory().getAbsolutePath(),
(CommonUtils.isWindows?file.name:file.getUnixName()) + ".gcov").toFile();
(CommonUtils.isWindows()?file.name:file.getUnixName()) + ".gcov").toFile();
Files.copy(gcov.toPath(), targetGcov.toPath(), StandardCopyOption.REPLACE_EXISTING);
}
}