diff options
author | Chris Wilson <chris+github@qwirx.com> | 2006-11-13 16:16:54 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2006-11-13 16:16:54 +0000 |
commit | 8e29d16a56228d200b6d39b37506e27a037f0f6f (patch) | |
tree | 8cfb932d9fcae47318667fbe054f84cf56fc8deb | |
parent | 134622028a0b4a858d407eac9822f78a0bf01920 (diff) |
Initialise memory leak finder in all unit tests (refs #3)
-rw-r--r-- | infrastructure/buildenv-testmain-template.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/infrastructure/buildenv-testmain-template.cpp b/infrastructure/buildenv-testmain-template.cpp index 7adbafa9..856c1bc4 100644 --- a/infrastructure/buildenv-testmain-template.cpp +++ b/infrastructure/buildenv-testmain-template.cpp @@ -114,6 +114,10 @@ int main(int argc, const char *argv[]) } try { + #ifdef BOX_MEMORY_LEAK_TESTING + memleakfinder_init(); + #endif + int returncode = test(argc, argv); // check for memory leaks, if enabled |