qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] scripts: provide a script for checking glib sym


From: Dr. David Alan Gilbert
Subject: Re: [Qemu-devel] [PATCH] scripts: provide a script for checking glib symbol usage
Date: Fri, 18 Dec 2015 13:42:40 +0000
User-agent: Mutt/1.5.24 (2015-08-30)

* Daniel P. Berrange (address@hidden) wrote:
> On Fri, Dec 18, 2015 at 01:35:13PM +0000, Dr. David Alan Gilbert wrote:
> > * Paolo Bonzini (address@hidden) wrote:
> > > 
> > > 
> > > On 18/12/2015 14:05, Daniel P. Berrange wrote:
> > > > > > +
> > > > > > +cs-glib-syms:
> > > > > > +   @perl scripts/glib-syms.pl $(GLIB_SYMS_LIST) $(C_CODE_FILES)
> > > > > 
> > > > > 
> > > > > Does this need to be included, or could it be a separate Makefile
> > > > > invoked with e.g. make -f scripts/Makefile.style?
> > > > 
> > > > Any particular reason to favour that over include ? I did it this
> > > > way because QEMU in general seems to be biased towards includes
> > > > and not recursive make
> > > 
> > > That would not be recursive make, but rather a completely separate
> > > Makefile to be manually invoked with -f.
> > 
> > Hmm but wouldn't this Makefile also be a good place for small-fast
> > style check scripts that could be included in  make check  ?
> 
> Nothing about "make check" is fast, so we could probably just wire it
> all into make check by default, as qtest & the block tests take some
> considerable time to run. IOW people who want speed will be running
> "make check-unit" or individual tests already.

"make check" takes under 2m on my laptop, so I take that to be reasonably
fast, i.e. I'd be happy to add other small (few second) tests to it.
e.g. with your Makefile included like you had done, the scripts to check
ordering of some files could go in it.

Dave

> 
> Regards,
> Daniel
> -- 
> |: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
> |: http://libvirt.org              -o-             http://virt-manager.org :|
> |: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
> |: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|
--
Dr. David Alan Gilbert / address@hidden / Manchester, UK



reply via email to

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