[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [OSSTEST PATCH 2/3] sg-check-tested: Honour multiple branches (comma-separated)
No functional change with existing invocations. Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx> --- sg-check-tested | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sg-check-tested b/sg-check-tested index 1a3afa3..43f2854 100755 --- a/sg-check-tested +++ b/sg-check-tested @@ -80,8 +80,9 @@ END AND r.flight = flights.flight) END } elsif (m/^--branch=(.*)$/) { - push @conds_vars, $1; - push @conds, "branch = ?"; + my @branches = split /\,/, $1; + push @conds_vars, @branches; + push @conds, "(".(join " OR ", map { "branch = ?" } @branches).")"; } elsif (m/^--blessings=(.*)$/) { my @blessings= split /\,/, $1; push @conds_vars, @blessings; -- 1.7.10.4 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |