Don't check mkrun_runner arguments for definedness twice
[gruntmaster-daemon.git] / lib / Gruntmaster / Daemon / Runner / File.pm
index 1a4829af01619227ddd514df1eed03b687f2abb3..42768582ff596077a7b4f851ed705fb28ab4abbd 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/);
        my $out = slurp 'output';
        my $ok;
        if (exists $meta->{okfile}) { # uncoverable branch false
This page took 0.010473 seconds and 4 git commands to generate.