From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [OSSTEST PATCH 10/10] rump kernel tests: Repeat the xenstorels test 50 times Date: Mon, 9 Feb 2015 14:00:29 +0000 Message-ID: <1423490429.4508.30.camel@citrix.com> References: <1423250275-20872-1-git-send-email-ian.jackson@eu.citrix.com> <1423250275-20872-11-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.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1YKotC-00014u-BD for xen-devel@lists.xenproject.org; Mon, 09 Feb 2015 14:00:38 +0000 In-Reply-To: <1423250275-20872-11-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: Ian Jackson Cc: xen-devel@lists.xenproject.org List-Id: xen-devel@lists.xenproject.org On Fri, 2015-02-06 at 19:17 +0000, Ian Jackson wrote: > Add a new step which uses repeat-ts to run > ts-rumpuserxen-demo-xenstorels many times. > > We have to run ts-guest-destroy-hard first each time, to destroy the > guest which might exist at each previous step. To help with ad-hoc > debugging runs, we specify `-' on the destroy, so that if the destroy > fails (probably because the guest doesn't exist) we don't mind. > > Strategically placed `+'s in the repeat-ts command line arrange that > the testid ends up being > rumpuserxen-demo-xenstorels/xenstorels.repeat > > Signed-off-by: Ian Jackson Acked-by: Ian Campbell > --- > sg-run-job | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/sg-run-job b/sg-run-job > index 0a49c93..ebbf53f 100755 > --- a/sg-run-job > +++ b/sg-run-job > @@ -327,6 +327,9 @@ proc run-job/test-rumpuserxen {} { > set g xenstorels > run-ts . = ts-rumpuserxen-demo-setup + host + $g > run-ts . = ts-rumpuserxen-demo-xenstorels + host + $g > + repeat-ts 50 =.repeat \ > + + - ts-guest-destroy-hard host $g \; + \ > + ts-rumpuserxen-demo-xenstorels + host + $g > run-ts . = ts-guest-destroy-hard + host + $g > } >