From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dario Faggioli Subject: [OSSTest PATCH v2 2/2] Testing cpupools: recipe for it and job definition Date: Wed, 4 Feb 2015 15:28:04 +0000 Message-ID: <20150204152804.29118.54833.stgit@Abyss> References: <20150204152351.29118.60045.stgit@Abyss> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20150204152351.29118.60045.stgit@Abyss> 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 Cc: Juergen Gross , Ian Jackson , Ian Campbell List-Id: xen-devel@lists.xenproject.org Signed-off-by: Dario Faggioli --- Changes from v1: * added invocation to ts-guest-stop in the recipe to kill leak-check complaints (which went unnoticed during v1 testing, sorry) * moved the test before the "ARM cutoff", and remove the per-arch filtering, so that the test can run on ARM hardware too --- make-flight | 12 ++++++++++++ sg-run-job | 7 +++++++ 2 files changed, 19 insertions(+) diff --git a/make-flight b/make-flight index 63b14f5..4d2e4bf 100755 --- a/make-flight +++ b/make-flight @@ -283,6 +283,16 @@ do_multivcpu_tests () { $debian_runvars all_hostflags=$most_hostflags } +do_cpupools_tests () { + if [ $xenarch != $dom0arch ]; then + return + fi + + 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 @@ -318,6 +328,8 @@ test_matrix_do_one () { do_sedf_tests do_credit2_tests + do_cpupools_tests + # No further arm tests at the moment if [ $dom0arch = armhf ]; then return diff --git a/sg-run-job b/sg-run-job index 2cf810a..fae5af0 100755 --- a/sg-run-job +++ b/sg-run-job @@ -272,6 +272,13 @@ 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 + run-ts . = ts-guest-stop + host debian +} + proc need-hosts/test-pair {} { return {src_host dst_host} } proc run-job/test-pair {} { run-ts . = ts-debian-install dst_host