From 967faabc4dd9e926a4c5bc316844b7033d744c69 Mon Sep 17 00:00:00 2001 From: Marius Gavrilescu Date: Fri, 11 Apr 2014 22:18:53 +0300 Subject: [PATCH] Pass the test number to the interactive verifier --- lib/Gruntmaster/Daemon/Runner/Interactive.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Gruntmaster/Daemon/Runner/Interactive.pm b/lib/Gruntmaster/Daemon/Runner/Interactive.pm index 21822d2..66493cf 100644 --- a/lib/Gruntmaster/Daemon/Runner/Interactive.pm +++ b/lib/Gruntmaster/Daemon/Runner/Interactive.pm @@ -28,7 +28,7 @@ sub run{ die [WA, "Wrong Answer"] if $?; } else { try { - $meta->{files}{ver}{run}->($meta->{files}{ver}{name}, fds => [qw/1 >fifo1 0 fifo2 4 >result/]); + $meta->{files}{ver}{run}->($meta->{files}{ver}{name}, fds => [qw/1 >fifo1 0 fifo2 4 >result/], args => [$test]); } catch { exit 1; }; -- 2.39.2