Tests can be run with Valgrind. First make sure that the valgrind binary is in your path. Then compile finalfusion-ffi as usual. For example:
$ mkdir build $ cd build $ cmake .. $ makeThen the CMake ctest command can be used to run the tests with Valgrind:
$ ctest -T memcheck