[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [OSSTEST PATCH 4/6] Other-revision-jobs: Update sg-report-flight and -job-history
We need adjust only the regression analysis. The other occurrences of special treatment for revision fields are for reporting output, and are in the context of a specific job. Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx> --- sg-report-flight | 4 ++++ sg-report-job-history | 1 + 2 files changed, 5 insertions(+) diff --git a/sg-report-flight b/sg-report-flight index 78c91da..a88379a 100755 --- a/sg-report-flight +++ b/sg-report-flight @@ -211,6 +211,7 @@ END SELECT flight, job, val FROM runvars WHERE flight=? AND name=? + AND ${\ main_revision_job_cond('job') } GROUP BY flight, job, val END $revisionsq= db_prepare($revisionsq); @@ -455,6 +456,9 @@ END AND name like 'built_revision_%' ORDER BY name END + # We report in jobtext revisions in non-main-revision jobs, too. + # (Although, at the time of writing this comment, the jobtexts + # seem not to ever be printed in the report...) $revh->execute(); while (my $r= $revh->fetchrow_hashref()) { my $br= $r->{name}; diff --git a/sg-report-job-history b/sg-report-job-history index 9a6e17b..0e2a3f9 100755 --- a/sg-report-job-history +++ b/sg-report-job-history @@ -93,6 +93,7 @@ our $revisionsq= db_prepare(<<END); WHERE flight=? AND job=? AND name LIKE E'built\\_revision\\_\%' END +# (We report on non-main-revision jobs just as for main-revision ones.) sub add_revisions ($$$$) { my ($revmap, $flightnum, $j, $sfx) = @_; -- 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 |