I agree. Acked-by: Ping Cheng <pingli...@gmail.com>
Ping On Sat, Jan 22, 2011 at 12:58 PM, Chris Bagwell <ch...@cnpbagwell.com> wrote: > I like the idea. It would be nice to get as far as injecting fake > packet and testing resulting movement or button posts. > > There are a hand full of times I'd rather test something this way then > constantly rebooting an X server. > > Chris > > On Thu, Jan 20, 2011 at 9:24 PM, Peter Hutterer > <peter.hutte...@who-t.net> wrote: >> >> This is an RFC for something I have needed for a while. As you noticed, the >> fast pace of the driver also introduces unintended regressions. Many code >> changes are incredibly hard to test however since they sometimes rely on >> specific hardware, a specific setup or even timing. >> >> Many bugs can be found however by good old unit-testing. This RFC contains a >> patch series that adds unittesting to the driver. As shown in the example >> patches 4 and 5, this way we can check the behaviour of internal function >> (and even the X server API) to be consistent over time. If something breaks, >> make check will tell us. Patch 3 has more details on how it works. >> >> If nothing else, writing a test usually at least forces one to rethink the >> API of a particular function, think of the side-effects and much more. >> >> Cheers, >> Peter >> >> ------------------------------------------------------------------------------ >> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! >> Finally, a world-class log management solution at an even better price-free! >> Download using promo code Free_Logger_4_Dev2Dev. Offer expires >> February 28th, so secure your free ArcSight Logger TODAY! >> http://p.sf.net/sfu/arcsight-sfd2d >> _______________________________________________ >> Linuxwacom-devel mailing list >> Linuxwacom-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel >> > > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > _______________________________________________ > Linuxwacom-devel mailing list > Linuxwacom-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel > ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Linuxwacom-devel mailing list Linuxwacom-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel