From: Marius Gavrilescu Date: Fri, 11 Apr 2014 19:18:53 +0000 (+0300) Subject: Pass the test number to the interactive verifier X-Git-Tag: 5999.000_003~13 X-Git-Url: http://git.ieval.ro/?p=gruntmaster-daemon.git;a=commitdiff_plain;h=967faabc4dd9e926a4c5bc316844b7033d744c69;ds=sidebyside Pass the test number to the interactive verifier --- 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; };