commit - f30e2f1167b17b9c886f46ca260c1d70826be336
commit + f2d83489db5f8cf6665b5a9860346834f9df0bb9
blob - e1948b73ede366e9d2f01a2a6063d661b43a3fd3
blob + 25ec8832200a4f883d49cd114b077be23b2f2d73
--- .test.mk
+++ .test.mk
test-coverage: CMAKE_PARAMS = -G Ninja -DCMAKE_BUILD_TYPE=Debug -DENABLE_GCOV=ON
test-coverage: TEST_RUN_PARAMS += --long
test-coverage: OUTPUT_FILE = coverage.info
+# Projects that are actively supported, have good test suites and
+# these components are not changed by Tarantool developers
+# or changed very rarely are excluded. We don't want to track
+# code coverage of these projects.
test-coverage: build run-luajit-test run-test
# TODO: setup tarantool
# tarantool ${SRC_DIR}/tools/luacov_to_info.lua ${SRC_DIR}/luacov.stats.out > ${SRC_DIR}/luacov.report.out
--exclude '/usr/*' \
--exclude '*/build/*' \
--exclude '*/test/*' \
- --exclude '*/third_party/*'
+ --exclude 'third_party/base64.c' \
+ --exclude 'third_party/base64.h' \
+ --exclude 'third_party/c-ares' \
+ --exclude 'third_party/c-dt' \
+ --exclude 'third_party/clock_gettime.c' \
+ --exclude 'third_party/compat' \
+ --exclude 'third_party/coro' \
+ --exclude 'third_party/crc32_impl.c' \
+ --exclude 'third_party/crc32_impl.h' \
+ --exclude 'third_party/curl' \
+ --exclude 'third_party/decNumber' \
+ --exclude 'third_party/libeio' \
+ --exclude 'third_party/libev' \
+ --exclude 'third_party/libunwind' \
+ --exclude 'third_party/libutil_freebsd' \
+ --exclude 'third_party/libyaml' \
+ --exclude 'third_party/lua-cjson' \
+ --exclude 'third_party/luafun' \
+ --exclude 'third_party/luajit' \
+ --exclude 'third_party/luarocks' \
+ --exclude 'third_party/lua-yaml' \
+ --exclude 'third_party/luazip' \
+ --exclude 'third_party/lua-zlib' \
+ --exclude 'third_party/memmem.c' \
+ --exclude 'third_party/memrchr.c' \
+ --exclude 'third_party/nghttp2' \
+ --exclude 'third_party/PMurHash.c' \
+ --exclude 'third_party/PMurHash.h' \
+ --exclude 'third_party/qsort_arg.c' \
+ --exclude 'third_party/qsort_arg.h' \
+ --exclude 'third_party/qsort_arg_mt.c' \
+ --exclude 'third_party/queue.h' \
+ --exclude 'third_party/sha1.c' \
+ --exclude 'third_party/sha1.h' \
+ --exclude 'third_party/sptree.h' \
+ --exclude 'third_party/tarantool_eio.c' \
+ --exclude 'third_party/tarantool_eio.h' \
+ --exclude 'third_party/tarantool_ev.c' \
+ --exclude 'third_party/tarantool_ev.h' \
+ --exclude 'third_party/tz' \
+ --exclude 'third_party/xxHash' \
+ --exclude 'third_party/zstd'
lcov --list ${OUTPUT_FILE}
##############################