macros: Changes to 'master'

Alan Coopersmith alanc at kemper.freedesktop.org
Tue Nov 8 12:43:38 PST 2011


 xorg-macros.m4.in |   69 +++++++++++++++++++++++++++++++++++++++++++++++++-----
 1 file changed, 63 insertions(+), 6 deletions(-)

New commits:
commit 9d8a1e5809b4dd397efe2e62bbf2c8a6c4deb795
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Thu Nov 3 18:14:15 2011 -0700

    Add XORG_MEMORY_CHECK_FLAGS and require it in XORG_ENABLE_UNIT_TESTS
    
    Based on the checks already in libXt/configure.ac and proposed for
    xserver/configure.ac - makes a common implementation before we make
    more copies.
    
    Callers should be able to just add
    	TESTS_ENVIRONMENT = $(XORG_MALLOC_DEBUG_ENV)
    
    If built with an older xorg-macros, then the tests will simply be
    less stringent, matching what happens on platforms without any
    simple malloc debugging facilities available.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Reviewed-by: Jeremy Huddleston <jeremyhu at apple.com>

commit 9b4a8bae3528950bdb87df095c212d646e15dbdb
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Thu Nov 3 17:41:24 2011 -0700

    Define __wrap_exit in test program source for XORG_LD_WRAP
    
    Otherwise the test fails on Solaris releases that actually have support
    for ld -wrap because the linker instead returns an error that __wrap_exit
    is an undefined symbol.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Reviewed-by: Jeremy Huddleston <jeremyhu at apple.com>

commit 0295ee03ab45c55771581664d6c903c6d2f87e53
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Thu Nov 3 15:54:25 2011 -0700

    Add an optional argument to XORG_LD_WRAP
    
    Allows specifying if ld -wrap support is 'required' or 'optional' for
    unit tests, so that builds like the xserver which only need ld -wrap
    for some tests can allow users to enable the others when ld -wrap is
    not available.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Reviewed-by: Jeremy Huddleston <jeremyhu at apple.com>



More information about the xorg-commit mailing list