[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [OSSTEST PATCH 04/10] Flight restriction: Update sg-report-flight and sg-report-job-history
Use restrictflight_arg in both these functions. They still use $maxflight directly, passing it to report_blessingscond; that will change in a moment. No functional change. Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx> --- sg-report-flight | 4 ++-- sg-report-job-history | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sg-report-flight b/sg-report-flight index 018e8e2..bdfbfb6 100755 --- a/sg-report-flight +++ b/sg-report-flight @@ -65,8 +65,8 @@ while (@ARGV && $ARGV[0] =~ m/^-/) { push @includebeginfiles, $1; } elsif (m/^--include=(.*)$/) { push @includefiles, $1; - } elsif (m/^--max-flight=(\d+)$/) { - $maxflight= $1; + } elsif (restrictflight_arg($_)) { + # Handled by Executive } elsif (m/^--allow=(.*)$/) { my ($allowfile) = $1; if (!open A, '<', $allowfile) { diff --git a/sg-report-job-history b/sg-report-job-history index 358c949..ec2776b 100755 --- a/sg-report-job-history +++ b/sg-report-job-history @@ -41,8 +41,8 @@ while (@ARGV && $ARGV[0] =~ m/^-/) { $$1= $2; } elsif (m/^--(limit)\=([1-9]\d*)$/) { $$1= $2; - } elsif (m/^--max-flight\=([1-9]\d*)$/) { - $maxflight= $1; + } elsif (restrictflight_arg($_)) { + # Handled by Executive } elsif (m/^--html-dir=(.*)$/) { $htmlout= $1; } elsif (m/^--branches?=(.*)$/) { -- 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 |