[ovs-dev] [PATCH] tests: Also enable FreeBSD libc debugging

Ed Maste emaste at adaranet.com
Mon Oct 1 21:11:31 UTC 2012


Signed-off-by: Ed Maste <emaste at adaranet.com>
---
There should probably be an OS check to set only the appropriate environment
variables.  I'm not sure if there's a generic autotest way to do that while
building atlocal from atlocal.in though (vs. a switch on $(uname) in the
generated file).  Perhaps not worth addressing, since they're just env vars.

 tests/atlocal.in | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tests/atlocal.in b/tests/atlocal.in
index 8d0f59d..c23f8e9 100644
--- a/tests/atlocal.in
+++ b/tests/atlocal.in
@@ -38,3 +38,7 @@ MALLOC_CHECK_=2
 MALLOC_PERTURB_=165
 export MALLOC_CHECK_
 export MALLOC_PERTURB_
+
+# Enable FreeBSD libc malloc debugging features.
+MALLOC_CONF=AJ
+export MALLOC_CONF
-- 
1.7.11.5




More information about the dev mailing list