unit tests: If heap tracing is enabled in sdkconfig, leak trace each test

This commit is contained in:
Angus Gratton
2017-10-04 17:30:10 +11:00
committed by Angus Gratton
parent 9c7477ef34
commit 69e92ee320
3 changed files with 24 additions and 2 deletions

View File

@@ -85,6 +85,8 @@ TEST_CASE("pthread C++", "[pthread]")
std::cout << "Join thread " << std::hex << t4.get_id() << std::endl;
t4.join();
}
global_sp.reset(); // avoid reported leak
}
static void task_test_sandbox(void *arg)