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

Alan Coopersmith alan.coopersmith at oracle.com
Thu Nov 3 19:56:26 PDT 2011


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



More information about the xorg-devel mailing list