Only supported in Linux. Untested on Darwin (MacOS). Use WSL with Windows.
Dependencies are CUnit
for unit tests and valgrind
for memory leak checks. Compilation tested with gcc
. Install with apt if not installed:
sudo apt install CUnit valgrind gcc
Run tests with:
make build_test
Delete built binaries by the tester in case of error with:
make clean
Run tests for memory leaks:
make memcheck