[pygobject] Run tests with MALLOC_PERTURB_
- From: Martin Pitt <martinpitt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygobject] Run tests with MALLOC_PERTURB_
- Date: Wed, 2 May 2012 10:20:09 +0000 (UTC)
commit 07f312e66c07357168098d3f96813d2c997e8dc7
Author: Martin Pitt <martinpitt gnome org>
Date: Wed May 2 12:08:19 2012 +0200
Run tests with MALLOC_PERTURB_
We mostly use the glib allocation functions, but this might
help to uncover access to already freed or uninitialized memory in a few edge
cases.
tests/Makefile.am | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/tests/Makefile.am b/tests/Makefile.am
index f54a8bb..fa9ab8c 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -101,6 +101,7 @@ RUN_TESTS_ENV_VARS= \
LD_LIBRARY_PATH=$(builddir)/.libs:$$LD_LIBRARY_PATH \
GI_TYPELIB_PATH=$(builddir):$$GI_TYPELIB_PATH \
XDG_DATA_DIRS=$$XDG_DATA_DIRS:/usr/share \
+ MALLOC_PERTURB_=85 \
TESTS_BUILDDIR=$(builddir)
check-local: $(LTLIBRARIES:.la=.so) Regress-1.0.typelib GIMarshallingTests-1.0.typelib gschemas.compiled
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]