]> xenbits.xensource.com Git - people/royger/osstest.git/commit
cs-bisection-step: Do explicitly set runvar for suppressed recursion
authorIan Jackson <ian.jackson@eu.citrix.com>
Tue, 12 Jun 2018 15:56:29 +0000 (15:56 +0000)
committerIan Jackson <ian.jackson@eu.citrix.com>
Tue, 12 Jun 2018 16:00:38 +0000 (16:00 +0000)
commitf2386c2a677cf5edd7f5795f13355b4c0791e47b
tree54e5fd24542f522b0942e791d4ceb721145423c5
parentf0914eabb62bc9272ef8b6b712745d6eab80794c
cs-bisection-step: Do explicitly set runvar for suppressed recursion

When we detect that we are considering a job which is identically
named to one earlier in the dependency chain, it could happen that the
final referencing runvar in the job at which we break the cycle is
actually to an unqualified job name.

(This cannot happen unless the cycle has more than 2 jobs, and
therefore more than one job name, because otherwise the job we would
be copying would have a self-reference.  So it cannot occur right
now.)

So when breaking the cycle, we should update the job we are building
to refer to the exact flight and job we want it to reuse.

The most convenient way to do this is to reorganise the new recursion
suppression code: we retain the suppressed entries in $subjobs, and
filter them as appropriate.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
cs-bisection-step