From: Ian Jackson Date: Wed, 16 Sep 2015 15:48:05 +0000 (+0100) Subject: sg-check-tested: New --pass-job= option X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=1dfb12f38a6e953c13c20972c6ee6a59cf18d433;p=osstest.git sg-check-tested: New --pass-job= option Specifies that returned information should relate to a flight in which a particular job existed and passed. The option can be repeated if desired (to specify flights in which _all_ those jobs passed). Signed-off-by: Ian Jackson Acked-by: Ian Campbell --- v2: New patch --- diff --git a/sg-check-tested b/sg-check-tested index e503cf0..1a3afa3 100755 --- a/sg-check-tested +++ b/sg-check-tested @@ -86,6 +86,16 @@ END my @blessings= split /\,/, $1; push @conds_vars, @blessings; push @conds, "(". (join " OR ", map { "blessing=?" } @blessings). ")"; + } elsif (m/^--pass-job=(.*)$/) { + push @conds_vars, $1; + push @conds, <