Skip to content

honeytreelabs/ctest-valgrind-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published