From 03007d04328a9959143a7c6ad8128a4bca454620 Mon Sep 17 00:00:00 2001 From: Marius Gavrilescu Date: Thu, 27 Feb 2014 09:55:16 +0200 Subject: [PATCH] Pass test number as argument to verifier --- lib/Gruntmaster/Daemon/Runner/Verifier.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Gruntmaster/Daemon/Runner/Verifier.pm b/lib/Gruntmaster/Daemon/Runner/Verifier.pm index af15393..213b77b 100644 --- a/lib/Gruntmaster/Daemon/Runner/Verifier.pm +++ b/lib/Gruntmaster/Daemon/Runner/Verifier.pm @@ -19,7 +19,7 @@ sub run{ $meta->{files}{prog}{run}->($meta->{files}{prog}{name}, fds => [qw/0 input 1 >output/], map {defined $meta->{$_} ? ($_ => $meta->{$_}) : () } qw/timeout olimit mlimit/); try { - $meta->{files}{ver}{run}->($meta->{files}{ver}{name}, fds => [qw/0 input 3 output 1 >result/]); + $meta->{files}{ver}{run}->($meta->{files}{ver}{name}, fds => [qw/0 input 3 output 1 >result/], args => [$test]); } catch { die [WA, "Wrong answer"] }; -- 2.39.2