]> xenbits.xensource.com Git - osstest.git/commitdiff
cr-daily-branch: Honour AP_FETCH_PFX
authorIan Jackson <ian.jackson@eu.citrix.com>
Fri, 28 Aug 2015 17:53:18 +0000 (18:53 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Fri, 18 Sep 2015 11:37:30 +0000 (12:37 +0100)
This environment variable is prefixed to all cr-daily-branch's command
lines involving ap-fetch.  We are going to use this for memoisation.

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
cr-daily-branch

index ade515ded626e8d63f591cc319f6d45962e69834..9500bdc1dff9710e5e5d996010d98319609a7206 100755 (executable)
@@ -51,12 +51,12 @@ determine_version () {
                 if [ "x$FORCE_REVISION" != x ]; then
                         tversion="$FORCE_REVISION"
                 else
-                       tversion=`./ap-fetch-version "$tbranch"`
+                       tversion=`$AP_FETCH_PFX ./ap-fetch-version "$tbranch"`
                 fi
                determine_tree "$treevarwhich" "" _${treevarwhich}
                determine_tree "$treevarwhich" "" _${treevarwhich}_THIS
        else
-               tversion=`./ap-fetch-version-baseline "$tbranch"`
+               tversion=`$AP_FETCH_PFX ./ap-fetch-version-baseline "$tbranch"`
                determine_tree "$treevarwhich" BASE_ _${treevarwhich}
                determine_tree "$treevarwhich" BASE_ _${treevarwhich}_THIS
        fi
@@ -98,7 +98,7 @@ if [ "x$OLD_REVISION" = x ]; then
                # last test will have tested the previous upstream baseline
                OLD_REVISION=`check_tested --print-revision=$tree`
            else
-               OLD_REVISION="`./ap-fetch-version-old $branch`"
+               OLD_REVISION="`$AP_FETCH_PFX ./ap-fetch-version-old $branch`"
            fi
            ;;
     esac
@@ -131,7 +131,8 @@ if [ "x$REVISION_XEN" = x ]; then
         export REVISION_XEN
 fi
 if [ "x$REVISION_PREVXEN" = x -a "x$prevxenbranch" != "x" ]; then
-       REVISION_PREVXEN="`./ap-fetch-version-baseline $prevxenbranch`"
+       REVISION_PREVXEN="`\
+               $AP_FETCH_PFX ./ap-fetch-version-baseline $prevxenbranch`"
        export REVISION_PREVXEN
 fi
 if [ "x$REVISION_QEMU_UPSTREAM" = x ]; then
@@ -252,7 +253,8 @@ ovmf)
 esac
 
 if [ "x$OLD_REVISION" = xdetermine-late ]; then
-       OLD_REVISION="`./ap-fetch-version-baseline-late $branch $NEW_REVISION`"
+       OLD_REVISION="`\
+ $AP_FETCH_PFX ./ap-fetch-version-baseline-late $branch $NEW_REVISION`"
 fi
 
 case $branch in