From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Jackson Subject: [OSSTEST PATCH 06/27] cr-daily-branch: Honour AP_FETCH_PFX Date: Wed, 16 Sep 2015 14:35:09 +0100 Message-ID: <1442410530-9665-7-git-send-email-ian.jackson@eu.citrix.com> References: <1442410530-9665-1-git-send-email-ian.jackson@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1ZcCsT-0000tU-A1 for xen-devel@lists.xenproject.org; Wed, 16 Sep 2015 13:36:04 +0000 In-Reply-To: <1442410530-9665-1-git-send-email-ian.jackson@eu.citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xenproject.org Cc: Ian Jackson , Ian Campbell List-Id: xen-devel@lists.xenproject.org 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 --- cr-daily-branch | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/cr-daily-branch b/cr-daily-branch index ade515d..9500bdc 100755 --- a/cr-daily-branch +++ b/cr-daily-branch @@ -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 -- 1.7.10.4