Test coverage for native code WIP

Part of: https://git.lix.systems/lix-project/lix/issues/1186
This commit is contained in:
Jade Lovelace
2026-04-19 18:01:00 +00:00
parent 1e986c81ab
commit c76cf49629
10 changed files with 239 additions and 3 deletions
+9 -1
View File
@@ -17,7 +17,7 @@ default_test_env = {
'NIX_CONF_DIR': '/var/empty',
# Prevent loading user configuration files in tests
'NIX_USER_CONF_FILES': '',
}
} + coverage_test_env
libutil_test_support_sources = files(
'libutil-support/tests/cli-literate-parser.cc',
@@ -296,3 +296,11 @@ test(
suite : 'check',
protocol : 'gtest',
)
coverage_objects += [
libutil_tester,
libstore_tester,
libexpr_tester,
libcmd_tester,
libmain_tester,
]