Initial commit

This commit is contained in:
2024-04-13 14:52:29 +03:00
commit ac5df0ebe9
20 changed files with 1821 additions and 0 deletions

14
scripts/coverage.sh Executable file
View File

@@ -0,0 +1,14 @@
#!/bin/sh
ulimit -Sv 320000
rm -r build coverage
mkdir build coverage
cmake -S . -B build -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_FLAGS_DEBUG="-g -fprofile-arcs -ftest-coverage"
cmake --build build
cd build
#ctest -T Test -T Coverage
ctest
cd ..
#echo Report > coverage.txt
#find . -iname "*.gcda" -exec gcov {} \;
#find . -iname "*.gcno" -exec echo {} >> coverage.txt \; -exec gcov -t {} >> coverage.txt \;
gcovr --html-details coverage/index.html