[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH V4 13/24] libxl/gentest.py: test JSON parser



On Tue, May 06, 2014 at 02:46:41PM +0100, Ian Campbell wrote:
> On Thu, 2014-05-01 at 13:58 +0100, Wei Liu wrote:
> > The test is done in following steps:
> > 
> > 1. initialise libxl_FOO struct
> > 2. generate JSON string A for libxl_FOO struct FOO1
> > 3. convert JSON string A to libxl_FOO struct FOO2
> > 4. generate JSON string B for libxl_FOO struct FOO2
> > 5. compare A and B
> > 
> > If A and B are identical then we are good.
> 
> I presume you have run this and we are good?
> 

Yes, I ran it with a script for several hours. It worked fine.  I also
deliberately increased the lenght of array to stress it more.

  $!/bin/sh
  XL=/local/scratch/xen-toolstack.git/tools/libxl
  
  while true;
  do
          touch $XL/gentest.py
          make -C $XL/ >/dev/null
          scp $XL/testidl root@h16:~
          ssh root@h16 /root/testidl
          if [ $? -ne 0 ]; then
                  echo "FAIL"
                  exit 255
          fi
  done


> > Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx>
> 
> Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
> 

Thanks

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.