From: Ian Campbell Subject: [PATCH OSSTEST] ts-xen-build: Do not set QEMU_REMOTE unless $r{tree_qemu} is set Date: Fri, 11 Sep 2015 11:07:03 +0100 Message-ID: <1441966023-19603-1-git-send-email-ian.campbell@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: ian.jackson@eu.citrix.com, xen-devel@lists.xen.org Cc: Ian Campbell List-Id: xen-devel@lists.xenproject.org 4.4 and earlier do not check if QEMU_REMOTE is empty before using it. >From 4.5 onwards if QEMU_REMOTE is empty then default is used. This should fix the build-*-prev job for 4.5 and earlier. In this job we deliberately don't specify tree_qemu since we want whatever that branch gives us. Signed-off-by: Ian Campbell --- ts-xen-build | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ts-xen-build b/ts-xen-build index cebfaf3..b02e737 100755 --- a/ts-xen-build +++ b/ts-xen-build @@ -52,12 +52,14 @@ sub checkout () { echo >>.config debug=$debug_build echo >>.config GIT_HTTP=y echo >>.config LIBLEAFDIR_x86_64=lib - echo >>.config QEMU_REMOTE='$r{tree_qemu}' echo >>.config KERNELS='' END (nonempty($r{enable_xsm}) ? <>.config XSM_ENABLE='${build_xsm}' END + (nonempty($r{tree_qemu}) ? <>.config QEMU_REMOTE='$r{tree_qemu}' +END (nonempty($r{revision_qemu}) ? <>.config QEMU_TAG='$r{revision_qemu}' END -- 2.5.1