Browse Source

Add a message to standard judger.

master
t123yh 7 years ago
parent
commit
df77d9491e
  1. 1
      src/runner/judge.ts

1
src/runner/judge.ts

@ -194,6 +194,7 @@ export async function judgeStandard(task: StandardRunTask)
message = `Killed: ${signals[runResult.result.code]}`;
status = TestcaseResultType.RuntimeError;
} else if (runResult.result.status !== SandboxStatus.OK) {
message = "Warning: corrupt sandbox result " + util.inspect(runResult.result);
status = TestcaseResultType.RuntimeError;
} else {
message = `Exited with return code ${runResult.result.code}`;

Loading…
Cancel
Save