]> git.ipfire.org Git - thirdparty/systemd.git/commit
test: check for (possibly) missing test coverage 22505/head
authorFrantisek Sumsal <frantisek@sumsal.cz>
Mon, 14 Feb 2022 11:20:02 +0000 (12:20 +0100)
committerFrantisek Sumsal <frantisek@sumsal.cz>
Mon, 14 Feb 2022 11:20:02 +0000 (12:20 +0100)
commitd282e57e2a93f034d7f7936f87fc5cb67d913151
treede037bf1ec63620757f6bf295108c0a2c8376325
parente4c822e9acbee9dda3f1821056af81eb090f2265
test: check for (possibly) missing test coverage

If the test logs contain lines like:

```
...systemd-resolved[735885]: profiling:/systemd-meson-build/src/shared/libsystemd-shared-250.a.p/base-filesystem.c.gcda:Cannot open
```

it means we're possibly missing some coverage since gcov can't write the stats,
usually due to the sandbox being too restrictive (e.g. ProtectSystem=yes,
ProtectHome=yes) or the $BUILD_DIR being inaccessible to non-root users.
test/test-functions