no message
This commit is contained in:
@@ -117,7 +117,8 @@ public class RemoteDVMTestingPlanner extends DVMTestingPlanner {
|
||||
runTask.state = TaskState.Canceled;
|
||||
} else {
|
||||
File rt_workspace = Paths.get(packageLocalWorkspace.getAbsolutePath(), "results", String.valueOf(runTask.id)).toFile();
|
||||
if (rt_workspace.exists() && runTask.state.equals(TaskState.Finished)) {
|
||||
if (rt_workspace.exists() && runTask.state.equals(TaskState.Finished)
|
||||
) {
|
||||
//анализ задачи на запуск.
|
||||
File outFile = new File(rt_workspace, Constants.out_file);
|
||||
File errFile = new File(rt_workspace.getAbsolutePath(), Constants.err_file);
|
||||
|
||||
@@ -559,9 +559,10 @@ public class Utils {
|
||||
}
|
||||
}
|
||||
TaskState state = TaskState.Finished;
|
||||
if (starts != ends) {
|
||||
if (starts == 0 || ends == 0) {
|
||||
state = TaskState.WrongTestFormat;
|
||||
} else if (errors > 0) {
|
||||
} else
|
||||
if (errors > 0) {
|
||||
state = TaskState.DoneWithErrors;
|
||||
} else {
|
||||
state = TaskState.Done;
|
||||
|
||||
Reference in New Issue
Block a user