From 2d7e106d293c7e81b4b0b333d256aef0490ea1bc Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 24 Sep 2013 16:14:05 +0200 Subject: [PATCH] Remove wacky "sysbuild" filtering It's none of our business if a jobset wants to return a build that uses a build for another system as an input... --- src/lib/Hydra/Helper/AddBuilds.pm | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/lib/Hydra/Helper/AddBuilds.pm b/src/lib/Hydra/Helper/AddBuilds.pm index cf6d7243..0d51b9fb 100644 --- a/src/lib/Hydra/Helper/AddBuilds.pm +++ b/src/lib/Hydra/Helper/AddBuilds.pm @@ -282,17 +282,6 @@ sub evalJobs { SuppressEmpty => '') or die "cannot parse XML output"; - my @filteredJobs = (); - foreach my $job (@{$jobs->{job}}) { - my $validJob = 1; - foreach my $arg (@{$job->{arg}}) { - my $input = $inputInfo->{$arg->{name}}->[$arg->{altnr}]; - $validJob = 0 if $input->{type} eq "sysbuild" && $input->{system} ne $job->{system}; - } - push(@filteredJobs, $job) if $validJob; - } - $jobs->{job} = \@filteredJobs; - return ($jobs, $nixExprInput); }