[PATCH:server+macros 0/5] Unit test fixes & enhancements

Jeremy Huddleston jeremyhu at apple.com
Sun Nov 6 17:26:13 PST 2011


Reviewed-by: Jeremy Huddleston <jeremyhu at apple.com>

On Nov 3, 2011, at 7:56 PM, Alan Coopersmith wrote:

> This series updates the unit testing macros in util-macros and updates
> the xserver configure & Makefile to take advantage of them if possible.
> 
> The usage in the xserver files gracefully degrades to current behaviour
> if configure is built with old macros, so the minimum required xorg-macros
> version is not bumped, reducing coordination issues as we near the merge
> window, but also have additional xorg-macros patches pending from Jeremy.
> 
> xorg-macros (3):
>  Add an optional argument to XORG_LD_WRAP
>  Define __wrap_exit in test program source for XORG_LD_WRAP
>  Add XORG_MEMORY_CHECK_FLAGS and require it in XORG_ENABLE_UNIT_TESTS
> 
> xorg-macros.m4.in |   69 ++++++++++++++++++++++++++++++++++++++++++++++++----
> 1 files changed, 63 insertions(+), 6 deletions(-)
> 
> xserver (2):
>  Don't require ld -wrap for tests that don't need it
>  Enable memory checking during unit testing
> 
> configure.ac         |    2 +-
> test/Makefile.am     |    3 +--
> test/xi2/Makefile.am |   10 ++++++++++
> 3 files changed, 12 insertions(+), 3 deletions(-)
> 
> 
> -- 
> 1.7.3.2
> 
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: http://lists.x.org/mailman/listinfo/xorg-devel
> 



More information about the xorg-devel mailing list