[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [OSSTEST PATCH 11/11] sg-check-tested: Provide --flight option



This is mostly useful in ad-hoc situations.  For example, it can be
usefully used with ./mg-adjust-flight-makexrefs.

Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
---
v4: New patch, which helps with issues I tripped over while trying
     to ad-hoc test the livepatch series.
---
 sg-check-tested | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/sg-check-tested b/sg-check-tested
index 3c09aac..a0a2db7 100755
--- a/sg-check-tested
+++ b/sg-check-tested
@@ -98,6 +98,10 @@ END
                 AND j.flight = flights.flight
                 AND j.status = 'pass')
 END
+    } elsif (m/^--flight=(.*)$/) {
+       my @flts = split /,/, $1;
+       push @conds_vars, @flts;
+       push @conds, "(".(join " OR ", map { "flight=?" } @flts).")";
     } elsif (m/^--print-revision=(.*)$/) {
         die if $prrev;
         $prrev= $1;
-- 
2.1.4


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.