xaizek / uncov (License: AGPLv3+) (since 2018-12-07)
Uncov(er) is a tool that collects and processes code coverage reports.
Commit ad4bd0fd603c341d9fac64131c0bfe1f12162cdc

Always use g++ to produce .gcda file
This allows running tests after building using clang++.
Author: xaizek
Author date (UTC): 2022-11-13 22:52
Committer name: xaizek
Committer date (UTC): 2022-11-14 18:25
Parent(s): 71a04488d7a1b7bc5903653c0d590837fbd86180
Signing key: 99DC5E4DB05F6BE2
Tree: b3cd7cf24045fdb43f532353312a34bc23056b7f
File Lines added Lines deleted
Makefile 3 1
File Makefile changed (mode: 100644) (index 137a693..bd24b6f)
... ... check: $(target) $(out_dir)/tests/tests tests/test-repo-gcno/test-repo-gcno \
188 188 @$(out_dir)/tests/tests $(TESTS) @$(out_dir)/tests/tests $(TESTS)
189 189
190 190 tests/test-repo-gcno/test-repo-gcno: tests/test-repo-gcno/main.cpp tests/test-repo-gcno/test-repo-gcno: tests/test-repo-gcno/main.cpp
191 cd tests/test-repo-gcno/ && $(CXX) --coverage -o test-repo-gcno main.cpp
191 # this must always be compiled with GCC for gcov to be able to process
192 # output files (need a separate variable for it?)
193 cd tests/test-repo-gcno/ && g++ --coverage -o test-repo-gcno main.cpp
192 194
193 195 install: release install: release
194 196 $(INSTALL) -t $(DESTDIR)$(PREFIX)/bin/ $(bin) $(webbin) uncov-gcov $(INSTALL) -t $(DESTDIR)$(PREFIX)/bin/ $(bin) $(webbin) uncov-gcov
Hints

Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://code.reversed.top/user/xaizek/uncov

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@code.reversed.top/user/xaizek/uncov

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a pull request:
... clone the repository ...
... make some changes and some commits ...
git push origin master