e85e588e45
malloc_conf does not reliably work with MSVC, which complains of "inconsistent dll linkage", i.e. its inability to support the application overriding malloc_conf when dynamically linking/loading. Work around this limitation by adding test harness support for per test shell script sourcing, and converting all tests to use MALLOC_CONF instead of malloc_conf.
6 lines
137 B
Bash
6 lines
137 B
Bash
#!/bin/sh
|
|
|
|
if [ "x${enable_prof}" = "x1" ] ; then
|
|
export MALLOC_CONF="prof:true,prof_accum:true,prof_active:false,lg_prof_sample:0"
|
|
fi
|