diff options
| author | Allison Henderson <achender@kernel.org> | 2026-05-03 22:41:42 -0700 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-05-05 19:19:54 -0700 |
| commit | c8781c61fd60552c8c65c6abb7146e9ef4b31dcc (patch) | |
| tree | ff4ab3f020784036ebb6c604b671132343346eac /include/linux | |
| parent | ec91483634fe9ae30ba50bc20e2050ce7eec2e8e (diff) | |
selftests: rds: Fix gcov collection
debugfs is not mounted automatically in a virtme-ng guest, so the
gcov data copy from /sys/kernel/debug/gcov/ silently finds nothing
depending on whether debugfs is mounted by default on the host OS.
Fix this by mounting debugfs in run.sh before copying the gcda
files.
Finally when invoked through the kselftest runner, the working
directory is the test directory rather than the kernel source root.
gcovr defaults --root to the current working directory, which causes
it to filter out all coverage data for files under net/rds/ since
they are not under the test directory. Fix this by passing --root
to gcovr explicitly.
Signed-off-by: Allison Henderson <achender@kernel.org>
Link: https://patch.msgid.link/20260504054143.4027538-10-achender@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
