diff options
Diffstat (limited to 'libc/malloc_debug/tests/malloc_debug_unit_tests.cpp')
-rw-r--r-- | libc/malloc_debug/tests/malloc_debug_unit_tests.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/libc/malloc_debug/tests/malloc_debug_unit_tests.cpp b/libc/malloc_debug/tests/malloc_debug_unit_tests.cpp index edb03f6de..1b08a39dc 100644 --- a/libc/malloc_debug/tests/malloc_debug_unit_tests.cpp +++ b/libc/malloc_debug/tests/malloc_debug_unit_tests.cpp @@ -44,8 +44,7 @@ __BEGIN_DECLS -int property_set(const char*, const char*); -bool debug_initialize(const MallocDispatch*, int*); +bool debug_initialize(const MallocDispatch*, int*, const char*); void debug_finalize(); void* debug_malloc(size_t); @@ -98,10 +97,9 @@ class MallocDebugTest : public ::testing::Test { } } - void Init(const char* property_value) { - property_set("libc.debug.malloc.options", property_value); + void Init(const char* options) { zygote = 0; - ASSERT_TRUE(debug_initialize(&dispatch, &zygote)); + ASSERT_TRUE(debug_initialize(&dispatch, &zygote, options)); initialized = true; } |