no message
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user