Add script for running calculating coverage

This commit is contained in:
2025-02-02 22:51:57 +03:00
parent d917eaa479
commit 3e6e7a9b86

9
util/coverage.sh Executable file
View File

@@ -0,0 +1,9 @@
#!/bin/bash
rm -rf build
cmake -S . -B build -DCMAKE_BUILD_TYPE=Debug -DCOVERAGE=1
cmake --build build
pushd build
ctest -T test
ctest -T coverage
popd