aboutsummaryrefslogtreecommitdiffhomepage
path: root/backend/taskqueue/queue.go
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-08-08 01:30:09 +0900
committernsfisis <nsfisis@gmail.com>2024-08-08 04:02:37 +0900
commit4eb7e89d6a77a4434bd087fbb86873521d30a8f5 (patch)
treeda13030d94538170a931747b957d2865bed03682 /backend/taskqueue/queue.go
parent26378c2d2ad1f8cb3f20c7070be3be9a4f0a0ad6 (diff)
downloadiosdc-japan-2025-albatross-4eb7e89d6a77a4434bd087fbb86873521d30a8f5.tar.gz
iosdc-japan-2025-albatross-4eb7e89d6a77a4434bd087fbb86873521d30a8f5.tar.zst
iosdc-japan-2025-albatross-4eb7e89d6a77a4434bd087fbb86873521d30a8f5.zip
feat(backend): implement processTaskResults() partially
Diffstat (limited to 'backend/taskqueue/queue.go')
-rw-r--r--backend/taskqueue/queue.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/backend/taskqueue/queue.go b/backend/taskqueue/queue.go
index b7d7381..515a406 100644
--- a/backend/taskqueue/queue.go
+++ b/backend/taskqueue/queue.go
@@ -83,6 +83,8 @@ func (q *Queue) EnqueueTaskRunTestcase(
code string,
submissionID int,
testcaseID int,
+ stdin string,
+ stdout string,
) error {
task, err := newTaskRunTestcase(
gameID,
@@ -90,6 +92,8 @@ func (q *Queue) EnqueueTaskRunTestcase(
code,
submissionID,
testcaseID,
+ stdin,
+ stdout,
)
if err != nil {
return err