From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [PATCH v4 11/11] osstest: add FreeBSD build recipe Date: Thu, 19 Mar 2015 15:31:21 +0000 Message-ID: <1426779081.21742.43.camel@citrix.com> References: <1424276291-6872-1-git-send-email-roger.pau@citrix.com> <1424276291-6872-12-git-send-email-roger.pau@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1YYcRe-0007wh-Q4 for xen-devel@lists.xenproject.org; Thu, 19 Mar 2015 15:33:14 +0000 In-Reply-To: <1424276291-6872-12-git-send-email-roger.pau@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: Roger Pau Monne Cc: xen-devel@lists.xenproject.org, Ian Jackson List-Id: xen-devel@lists.xenproject.org On Wed, 2015-02-18 at 17:18 +0100, Roger Pau Monne wrote: > This patch introduces two new buildjobs: > > build--freebsd-xen: sets up a FreeBSD host and builds Xen. > build--freebsd-freebsd: sets up a FreeBSD host and builds FreeBSD sets > and a mfsBSD installer image. Not sure why this is dodgy, it doesn't look too bad to me. One thought I had all the way through this is that its a bit wrong that ts-xen-{install,build} and ts-kernel-build are actually ts-xen-{install,build}-linux and ts-linux-build. Renaming those script would allow some of the iffs you are added to be replace with do-a-thing-$os. A little care would be needed so that the testid doesn't change, but that's might be a good thing, since having the testid be host-install regardless of the OS being installed would make things a bit more readable IMHO (e.g. in the summary grid). Perhaps the way to achieve that is to make ts-xen-build be: #!/bin/bash set -ex os=$1;shift exec ts-xen-build-$1 $@ Then things like: per-host-ts broken host-install/@(*) ts-host-install + $os per-host-ts . xen-install/@ ts-xen-install + $os (the + makes the $os not be in the test id) Ian.