From mboxrd@z Thu Jan 1 00:00:00 1970 From: Juergen Gross Subject: Re: [OSSTEST PATCH 2/2] Testing cpupools: recipe for it and job definition Date: Thu, 18 Dec 2014 16:10:24 +0100 Message-ID: <5492EE60.5090005@suse.com> References: <20141218130919.29909.13566.stgit@Abyss.station> <20141218133902.29909.99057.stgit@Abyss.station> <5492EBFC.8010005@suse.com> <20141218150409.GA2870@zion.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20141218150409.GA2870@zion.uk.xensource.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: Wei Liu Cc: George Dunlap , Dario Faggioli , Ian Jackson , Ian Campbell , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On 12/18/2014 04:04 PM, Wei Liu wrote: > On Thu, Dec 18, 2014 at 04:00:12PM +0100, Juergen Gross wrote: >> On 12/18/2014 02:39 PM, Dario Faggioli wrote: >>> Signed-off-by: Dario Faggioli >>> --- >>> make-flight | 11 +++++++++++ >>> sg-run-job | 6 ++++++ >>> 2 files changed, 17 insertions(+) >>> >>> diff --git a/make-flight b/make-flight >>> index a91f256..ce02c89 100755 >>> --- a/make-flight >>> +++ b/make-flight >>> @@ -266,6 +266,16 @@ do_credit2_tests () { >>> $debian_runvars all_hostflags=$most_hostflags >>> } >>> >>> +do_cpupools_tests () { >>> + if [ $xenarch != amd64 -o $dom0arch != amd64 ]; then >>> + return >>> + fi >> >> Why can't you test cpupools on x86_64? >> > > Don't worry. That's the name used for 64 bit (be it amd or intel) in > OSSTest. :-) Aargh. Some automatic filter in my brain translated this to arm64 :-) So: Why can't you test cpupools on ARM? Juergen > > Wei. > >> >> Juergen >> >>> + >>> + job_create_test test-$xenarch$kern-$dom0arch-xl-cpupools \ >>> + test-cpupools xl $xenarch $dom0arch \ >>> + $debian_runvars all_hostflags=$most_hostflags >>> +} >>> + >>> do_passthrough_tests () { >>> if [ $xenarch != amd64 -o $dom0arch != amd64 -o "$kern" != "" ]; then >>> return >>> @@ -366,6 +376,7 @@ test_matrix_do_one () { >>> >>> do_sedf_tests >>> do_credit2_tests >>> + do_cpupools_tests >>> >>> if [ $xenarch = amd64 -a $dom0arch = i386 ]; then >>> >>> diff --git a/sg-run-job b/sg-run-job >>> index 2cf810a..0250087 100755 >>> --- a/sg-run-job >>> +++ b/sg-run-job >>> @@ -272,6 +272,12 @@ proc run-job/test-debianhvm {} { >>> test-guest debianhvm >>> } >>> >>> +proc need-hosts/test-cpupools {} { return host } >>> +proc run-job/test-cpupools {} { >>> + install-guest-debian >>> + run-ts . = ts-cpupools >>> +} >>> + >>> proc need-hosts/test-pair {} { return {src_host dst_host} } >>> proc run-job/test-pair {} { >>> run-ts . = ts-debian-install dst_host >>> >>> >>> _______________________________________________ >>> Xen-devel mailing list >>> Xen-devel@lists.xen.org >>> http://lists.xen.org/xen-devel >>> >