]> xenbits.xensource.com Git - osstest.git/commitdiff
Other-revision-jobs: Update sg-report-flight and -job-history
authorIan Jackson <ian.jackson@eu.citrix.com>
Fri, 28 Aug 2015 11:44:22 +0000 (11:44 +0000)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Fri, 28 Aug 2015 16:28:50 +0000 (17:28 +0100)
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@eu.citrix.com>
sg-report-flight
sg-report-job-history

index 78c91dabe40254348720f07854d762b596c2da07..a88379acfd843128a5ec98056950b32055ed0b4f 100755 (executable)
@@ -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};
index 9a6e17b500e46f0bc8e0eadc8c08f2cb2723b194..0e2a3f938eb8c049225a4e5d69ae1577b2171d3b 100755 (executable)
@@ -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) = @_;