Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions kernel/proof/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -166,3 +166,27 @@ exit(0)
subdir('proof_entrypoint')
subdir('proof_handlers')
subdir('proof_composition')

# Manual target to aggregate Frama-C coverage traces and export gcovr JSON.
# This is intentionally not built by default and must be invoked explicitly.
framac_gcovr_coverage = custom_target(
'framac_gcovr_coverage',
command: [
py3,
join_paths(meson.project_source_root(), 'tools', 'framac_coverage_to_gcovr.py'),
'--repo-root', meson.project_source_root(),
'--compile-commands', join_paths(meson.project_build_root(), 'compile_commands.json'),
'--coverage-glob', 'builddir*/kernel/proof/**/*-coverage.json',
'--export-html',
'--export-sonarqube',
'--output', '@OUTPUT0@',
'--summary-output', '@OUTPUT1@',
],
output: [
'frama-c-kernel-function-coverage.gcovr.json',
'frama-c-kernel-function-coverage.gcovr.summary.json',
'frama-c-kernel-function-coverage.gcovr-html/index.html',
'frama-c-kernel-function-coverage.gcovr.sonarqube.xml',
],
build_by_default: false,
)
Loading
Loading