projects
/
platform
/
upstream
/
libxkbcommon.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
414007c
)
configure.ac: add XORG_MEMORY_CHECK_FLAGS
author
Ran Benita
<ran234@gmail.com>
Fri, 21 Sep 2012 16:57:37 +0000
(19:57 +0300)
committer
Daniel Stone
<daniel@fooishbar.org>
Sun, 23 Sep 2012 23:08:54 +0000
(09:08 +1000)
Adds some memory checking (e.g. MALLOC_PERTURB_) to tests.
Signed-off-by: Ran Benita <ran234@gmail.com>
Makefile.am
patch
|
blob
|
history
configure.ac
patch
|
blob
|
history
diff --git
a/Makefile.am
b/Makefile.am
index
19a0b73
..
2f16144
100644
(file)
--- a/
Makefile.am
+++ b/
Makefile.am
@@
-110,7
+110,8
@@
libtest_la_SOURCES = \
AM_TESTS_ENVIRONMENT = \
XKB_LOG=debug; export XKB_LOG; \
- XKB_VERBOSITY=10; export XKB_VERBOSITY;
+ XKB_VERBOSITY=10; export XKB_VERBOSITY; \
+ $(XORG_MALLOC_DEBUG_ENV)
TESTS = \
test/keysym \
diff --git
a/configure.ac
b/configure.ac
index
1c103a4
..
2b40d41
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-43,6
+43,7
@@
m4_ifndef([XORG_MACROS_VERSION],
[m4_fatal([must install xorg-macros 1.8 or later before running autoconf/autogen])])
XORG_MACROS_VERSION(1.8)
XORG_DEFAULT_OPTIONS
+XORG_MEMORY_CHECK_FLAGS
# Check for compiler features
AC_C_INLINE