diff --git a/libraries/pico/pico_unit.h b/libraries/pico/pico_unit.h index 6c357e161..35e05e2c2 100644 --- a/libraries/pico/pico_unit.h +++ b/libraries/pico/pico_unit.h @@ -341,7 +341,7 @@ pu_run_test (const char* const name, pu_test_fn test_fp) printf("\n"); - pu_num_passed++;_CrtDumpMemoryLeaks(); + pu_num_passed++; if (NULL != pu_teardown_fp) { diff --git a/test/main.cpp b/test/main.cpp index f551517c9..31cb7af92 100644 --- a/test/main.cpp +++ b/test/main.cpp @@ -47,8 +47,6 @@ int main(int argc, char* argv[]) printf("Tests are running from \"%s\"\n\n", cf_fs_get_base_directory()); cf_fs_destroy(); - _CrtSetBreakAlloc(4277); - #ifdef _MSC_VER _CrtSetDbgFlag(_CRTDBG_REPORT_FLAG | _CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF); _CrtSetReportMode(_CRT_WARN, _CRTDBG_MODE_FILE); diff --git a/test/test_audio.cpp b/test/test_audio.cpp index 4a31eb792..002ff5c47 100644 --- a/test/test_audio.cpp +++ b/test/test_audio.cpp @@ -16,9 +16,6 @@ using namespace Cute; #include "thingy.h" #include "jump.h" -#define _CRTDBG_MAP_ALLOC -#include - /* Load and free wav/ogg files synchronously. */ TEST_CASE(test_audio_load_synchronous) {