From: Ian Campbell Subject: Re: [PATCH v2 5/5] xl: test script for the cpumap parser (for vCPU pinning) Date: Wed, 11 Sep 2013 10:49:37 +0100 Message-ID: <1378892977.10928.49.camel@kazak.uk.xensource.com> References: <20130906154725.10218.45008.stgit@hit-nxdomain.opendns.com> <20130906155600.10218.27695.stgit@hit-nxdomain.opendns.com> <21039.23644.878700.819950@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <21039.23644.878700.819950@mariner.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: Ian Jackson Cc: George Dunlap , Dario Faggioli , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Tue, 2013-09-10 at 18:52 +0100, Ian Jackson wrote: > Dario Faggioli writes ("[PATCH v2 5/5] xl: test script for the cpumap parser (for vCPU pinning)"): > > This commit introduces "check-xl-vcpupin-parse" for helping > > verifying and debugging the (v)CPU bitmap parsing code in xl. > > > > The script runs "xl -N vcpu-pin 0 all " > > repeatedly, with various input strings, and checks that the > > output is as expected. [...] > I think it would be better, TBH, if you separated out the test > generation from the execution. check-xl-vif-parse et al have the test > data as an annex to the harness material, but you could have it in a > separate file which you could have a script to generate. Support for testing specific strings which have been reported as buggy in the past would be useful too.