Don't check mkrun_runner arguments for definedness twice
[gruntmaster-daemon.git] / lib / Gruntmaster / Daemon / Runner / Verifier.pm
index 7111f6baadc6058ac46b01ab86f12cca48181c75..463fd7101eade579fc3c3cdf523ab6733431cf12 100644 (file)
@@ -16,7 +16,7 @@ our $VERSION = '5999.000_004';
 sub run{
        my ($test, $meta) = @_;
        get_logger->trace("Running on test $test...");
-       $meta->{files}{prog}{run}->($meta->{files}{prog}{name}, fds => [qw/0 input 1 >output/], map {defined $meta->{$_} ? ($_ => $meta->{$_}) : () } qw/timeout olimit mlimit/);
+       $meta->{files}{prog}{run}->($meta->{files}{prog}{name}, fds => [qw/0 input 1 >output/], map { $_ => $meta->{$_} } qw/timeout olimit mlimit/);
 
        try {
                $meta->{files}{ver}{run}->($meta->{files}{ver}{name}, fds => [qw/0 input 3 output 1 >result/], args => [$test]);
This page took 0.010311 seconds and 4 git commands to generate.