]> xenbits.xensource.com Git - osstest.git/commitdiff
cr-daily-branch, sg-check-tested: when checking for previously tested versions only... flight-16226 flight-16227 flight-16228 flight-16229 flight-16230 flight-16231 flight-16232 flight-16233 flight-16234 flight-16235 flight-16236 flight-16260 flight-16275 flight-16308 flight-16327 flight-16436 flight-16458 flight-16468 flight-16508 flight-16521 flight-16568 flight-16583 flight-16638 flight-16657
authorIan Jackson <iwj@woking.cam.xci-test.com>
Fri, 22 Feb 2013 12:35:30 +0000 (12:35 +0000)
committerIan Jackson <iwj@woking.cam.xci-test.com>
Fri, 22 Feb 2013 12:35:30 +0000 (12:35 +0000)
cr-daily-branch
sg-check-tested

index f30c5554d05bc3c10f66368d4bf05c6c54e31657..6e71fe2f83b5caeb9544d0352dc8533c8181b745 100755 (executable)
@@ -91,7 +91,8 @@ if [ "x$testedflight" = x ]; then
         wantpush=false
         skipidentical=false
         force_baseline=true
-       tested_revision=`check_tested --print-revision=$tree`
+       tested_revision=`check_tested --tree-$tree=$treeurl \
+                               --print-revision=$tree`
        if [ "x$tested_revision" != x ]; then
                OLD_REVISION="$tested_revision"
        fi
index 8ffa8f056487211caed9933c39dd335d6aaa0e73..206447aaeb77b1c9494513f34442e1a95d42b982 100755 (executable)
@@ -62,6 +62,16 @@ END
                WHERE name = ?
                AND   r.flight = flights.flight
                AND   val != '')
+END
+    } elsif (m/^--tree-([^=]+)=(.*)$/) {
+       push @conds_vars, "tree_$1", $2;
+       push @conds, <<END;
+             NOT EXISTS
+             (SELECT *
+               FROM runvars r
+               WHERE name = ?
+               AND   val != ?
+               AND   r.flight = flights.flight)
 END
     } elsif (m/^--branch=(.*)$/) {
         push @conds_vars, $1;