xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Wei Liu <wei.liu2@citrix.com>
To: Juergen Gross <jgross@suse.com>
Cc: xen-devel@lists.xenproject.org, Wei Liu <wei.liu2@citrix.com>,
	ian.jackson@eu.citrix.com
Subject: Re: [PATCH] tools/tests: add xenstore testing framework
Date: Wed, 18 Jan 2017 14:47:39 +0000	[thread overview]
Message-ID: <20170118144739.GX5089@citrix.com> (raw)
In-Reply-To: <e06f6e9f-72cb-9918-dfc4-20be2a8635ae@suse.com>

On Wed, Jan 18, 2017 at 01:47:17PM +0100, Juergen Gross wrote:
> On 18/01/17 13:41, Wei Liu wrote:
> > On Wed, Jan 18, 2017 at 01:33:48PM +0100, Juergen Gross wrote:
> >> Add tools/tests/xenstore for a framework to do tests of xenstore.
> >> The aim is to test for correctness and performance.
> >>
> >> Add a test program containing some tests meant to be run against any
> >> xenstore implementation (xenstored, oxenstored, xenstore-stubdom).
> >>
> >> It is using libxenstore for access to xenstore and supports multiple
> >> tests to be either selected all or individually. All tests are using
> >> /local/domain/<own-domid>/xenstore-test/<pid> as base for doing the
> >> tests. This allows multiple instances of the program to run in
> >> parallel.
> >>
> >> Signed-off-by: Juergen Gross <jgross@suse.com>
> > 
> > Thank you for doing this work!
> > 
> > The only complaint I have is the code seems to be mixing hypervisor and
> > toolstack coding style.
> 
> Sorry, I don't see it. Where do I use coding style not compliant to
> ./CODING_STYLE ?
> 

+static int test_dir_init(uintptr_t par)
+{
+    unsigned int i;
+
+    for (i = 0; i < WRITE_BUFFERS_N; i++)

Here and a bunch of other places.

There are places where there is space after '('. It looks to me you
wished to follow hypervisor side coding style.

Wei.


> Juergen
> 

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

  reply	other threads:[~2017-01-18 14:47 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-18 12:33 [PATCH] tools/tests: add xenstore testing framework Juergen Gross
2017-01-18 12:41 ` Wei Liu
2017-01-18 12:47   ` Juergen Gross
2017-01-18 14:47     ` Wei Liu [this message]
2017-01-18 14:57       ` Juergen Gross
2017-01-18 14:14 ` Juergen Gross
2017-01-18 15:16 ` Juergen Gross
2017-01-18 15:23   ` Wei Liu
2017-01-18 17:59     ` David Scott
2017-01-18 18:03       ` Juergen Gross
2017-01-18 16:58   ` Andrew Cooper

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170118144739.GX5089@citrix.com \
    --to=wei.liu2@citrix.com \
    --cc=ian.jackson@eu.citrix.com \
    --cc=jgross@suse.com \
    --cc=xen-devel@lists.xenproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).