c-resources/CPlusPlus20ForProgrammers-m.../examples/libraries/cereal-1.3.0/unittests/run_valgrind.sh

11 lines
123 B
Bash

#!/usr/bin/env bash
set -e
TESTS=./test_*
for f in $TESTS
do
valgrind --tool=memcheck --leak-check=full $f
done