[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [OSSTEST PATCH 07/10] Flight restriction: Honour --exclude-flights=F1, F2, ...
To reproduce a recent bisection problem I needed to exclude not just all flights after a certain number, but also one earlier flight. So I invented this option (and associated yaks). Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx> --- Osstest/Executive.pm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Osstest/Executive.pm b/Osstest/Executive.pm index b8ab5cd..998a0d0 100644 --- a/Osstest/Executive.pm +++ b/Osstest/Executive.pm @@ -201,6 +201,10 @@ sub restrictflight_arg ($) { if ($arg =~ m/^--max-flight\=([1-9]\d*)$/) { $restrictflight_cond .= " AND flight <= $1"; return 1; + } elsif ($arg =~ m/^--exclude-flights=([0-9,]+)$/) { + $restrictflight_cond .= " AND flights.flight != $_" + foreach split /,/, $1; + return 1; } else { return 0; } -- 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 |