qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v3 00/18] migration: add static analysis tool to


From: Amit Shah
Subject: Re: [Qemu-devel] [PATCH v3 00/18] migration: add static analysis tool to check vmstate compat
Date: Tue, 17 Jun 2014 19:29:17 +0530

On (Tue) 17 Jun 2014 [07:34:07], Eric Blake wrote:
> 
> 
> On 06/17/2014 07:19 AM, Amit Shah wrote:
> > Hello,
> > 
> > v3:
> >  - Python script returns an error code: 0 if no errors, positive for
> >    the number of errors identified.
> 
> Returning the error count as $? is unreliable - if you have exactly 256
> errors, that gives the same status as if you had success.  Does your
> code guarantee non-zero return in that case?

No; any good ideas for this, then?  Just limit to 255, and never bump
upwards?

I'm only introducing this so that future integration with 'make check'
can be noticed by scripts.


                Amit



reply via email to

[Prev in Thread] Current Thread [Next in Thread]