Commit a2efb0db by Marcus Winter

base_cpp: checking for memory leaks after tests

parent 85f5798c
......@@ -35,6 +35,8 @@
#include <atomic_test.h>
#include <memory_allocation_test.h>
#include <embb/base/c/memory_allocation.h>
PT_MAIN("Base C++") {
unsigned int max_threads =
static_cast<unsigned int>(2 * partest::TestSuite::GetDefaultNumThreads());
......@@ -47,4 +49,6 @@ PT_MAIN("Base C++") {
PT_RUN(embb::base::test::AtomicTest);
PT_RUN(embb::base::test::MemoryAllocationTest);
PT_RUN(embb::base::test::ThreadTest);
PT_EXPECT(embb_get_bytes_allocated() == 0);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment