From: Ian Jackson Subject: Re: [PATCH] tools: libxl: testidl: initialise the KeyedUnion keyvar before the union Date: Tue, 10 Dec 2013 14:12:21 +0000 Message-ID: <21159.8517.69786.665860@mariner.uk.xensource.com> References: <529F663A.4030604@citrix.com> <1386179336-2829-1-git-send-email-ian.campbell@citrix.com> <529F6C4E.30606@citrix.com> <1386243567.20047.27.camel@kazak.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1386243567.20047.27.camel@kazak.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 Campbell Cc: Andrew Cooper , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org Ian Campbell writes ("Re: [PATCH] tools: libxl: testidl: initialise the KeyedUnion keyvar before the union"): > On Wed, 2013-12-04 at 17:54 +0000, Andrew Cooper wrote: > > This sound plausible, although given my unfamiliarity with gentest.py, I > > dont feel as if a Reviewed-by tag is appropriate. > > FWIW, if I insert a random.random() at the same place (to account for > the new call to random to be introduced, which knocks all the subsequent > values "down one") and then compare the result of that with the output > of this patch (with LIBXL_TESTIDL_SEED=42 in both cases) the diff is: I did try to review this, but I wasn't sure how to do that random alignment trick and then I saw you'd applied it. > Since this is a) not critical code by any stretch and b) not something I > expect anyone is going to review, I've just applied it. Fair enough. Thanks, Ian.