X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=t%2F01-jobs.t;h=4d4f8bc4fa0a48177fffc8fa2eff995b1f308e38;hb=c428f2c4b2a81912d7b5bb1db71aceb7c2b4546c;hp=4e0304a90f3565d0d895ad29050f5a574ae0d210;hpb=23b3dc5a2a08988e12ba9bac69cdc21ccf9dc935;p=gruntmaster-daemon.git diff --git a/t/01-jobs.t b/t/01-jobs.t index 4e0304a..4d4f8bc 100644 --- a/t/01-jobs.t +++ b/t/01-jobs.t @@ -81,10 +81,12 @@ for my $problem (@problems) { for my $source (<$problem/tests/*>) { SKIP: { my $meta = LoadFile "$source/meta.yml"; - my $compiler = COMPILER->{$meta->{files}{prog}{format}}; - skip "$compiler not found in path", 3 unless $ENV{GRUNTMASTER_VM} || which $compiler; - local $TODO = $meta->{todo} if exists $meta->{todo}; - $meta->{files}{prog}{content} = read_file "$source/$meta->{files}{prog}{name}"; + if ($meta->{files}{prog}) { + my $compiler = COMPILER->{$meta->{files}{prog}{format}}; + skip "$compiler not found in path", 3 unless $ENV{GRUNTMASTER_VM} || which $compiler; + local $TODO = $meta->{todo} if exists $meta->{todo}; + $meta->{files}{prog}{content} = read_file "$source/$meta->{files}{prog}{name}"; + } $meta = merge $meta, $pbmeta; note "Running $meta->{test_name} ($meta->{test_description})..."; my $savedcwd = getcwd;