Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 489 Bytes

README.md

File metadata and controls

20 lines (13 loc) · 489 Bytes

CTest Valgrind Integration Sample

This is a companion git repository to our article about how to automatically detect memory leaks in unit-tests.

Build and Test Instructions

Make sure to clone this repository including the referenced submodule.

To build the tests:

cmake -S . -B build -GNinja -DCMAKE_BUILD_TYPE=Debug
cmake --build build

Run the tests:

ctest --test-dir build --verbose