How do I run unit tests and get line coverage?
Such as title
criu version: 3.15 3.17
Can you be a bit more specific what you want?
I want to get criu's current unit test line coverage results and show them in my current project. In addition, how should the test directory in the root directory be used?
Please have a look at https://github.com/checkpoint-restore/criu/blob/criu-dev/.github/workflows/gcov-test.yml
Please have a look at https://github.com/checkpoint-restore/criu/blob/criu-dev/.github/workflows/gcov-test.yml
Is there a method to execute unittest in centos?
I execute GCOV under centos, but there is an error. Could you please help me check it? @adrianreber the log: https://github.com/mrc1119/criu-log/blob/main/criu-codecov-error
################## 345 TEST(S) FAILED (TOTAL 436/SKIPPED 90) ###################
A friendly reminder that this issue had no activity for 30 days.
All your errors seem to be Error (criu/cr-dump.c:1524): Collect mappings (pid: 56) failed with -1, and that likely means that you don't have access to either /proc/pid/smaps or /proc/pid/map_files/*.
A friendly reminder that this issue had no activity for 30 days.