исправление бага с неуведомлением о запуске пакета двм
This commit is contained in:
@@ -22,7 +22,7 @@
|
|||||||
"Kernels": 8,
|
"Kernels": 8,
|
||||||
"LocalMakePathWindows": "C:\\MinGW\\msys\\1.0\\bin\\make.exe",
|
"LocalMakePathWindows": "C:\\MinGW\\msys\\1.0\\bin\\make.exe",
|
||||||
"CheckTestingIntervalSeconds": 10,
|
"CheckTestingIntervalSeconds": 10,
|
||||||
"AutoCheckTesting": false,
|
"AutoCheckTesting": true,
|
||||||
"EmailOnTestingProgress": true,
|
"EmailOnTestingProgress": true,
|
||||||
"lastMachineId": 13,
|
"lastMachineId": 13,
|
||||||
"lastUserId": 24,
|
"lastUserId": 24,
|
||||||
|
|||||||
@@ -103,7 +103,7 @@ public abstract class TestingPlanner<P extends TestingPackage> extends TestingCl
|
|||||||
ServerCommand(ServerCode.EditObject, testingPackage);
|
ServerCommand(ServerCode.EditObject, testingPackage);
|
||||||
}
|
}
|
||||||
public abstract String packageDescription();
|
public abstract String packageDescription();
|
||||||
void EmailPackage() throws Exception {
|
protected void EmailPackage() throws Exception {
|
||||||
if (testingPackage.needsEmail == 1) {
|
if (testingPackage.needsEmail == 1) {
|
||||||
EmailMessage message = new EmailMessage();
|
EmailMessage message = new EmailMessage();
|
||||||
message.subject = "Состояние пакета тестирования " + packageDescription() + " " +
|
message.subject = "Состояние пакета тестирования " + packageDescription() + " " +
|
||||||
|
|||||||
@@ -231,6 +231,14 @@ public class RemoteDVMTestingPlanner extends DVMTestingPlanner {
|
|||||||
Disconnect();
|
Disconnect();
|
||||||
}
|
}
|
||||||
//--
|
//--
|
||||||
|
if (state_changed)
|
||||||
|
switch (testingPackage.state) {
|
||||||
|
case CompilationExecution:
|
||||||
|
case RunningExecution:
|
||||||
|
EmailPackage();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
//--
|
||||||
return progress_changed || state_changed;
|
return progress_changed || state_changed;
|
||||||
}
|
}
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user