Skip to content

Commit

Permalink
tests: fix test coverage report with newer python-coverage
Browse files Browse the repository at this point in the history
Python-coverage 7.x changed the pattern matching behavior for filesystem
paths.
  • Loading branch information
daniloegea authored and slyon committed Aug 3, 2023
1 parent 2d23707 commit a6e6c94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions meson.build
Expand Up @@ -126,12 +126,12 @@ if get_option('b_coverage')
test('coverage-py-output',
pycoverage,
args: ['html', '-d', join_paths(meson.current_build_dir(),
'meson-logs', 'coveragereport-py'), '--omit=/usr*'],
'meson-logs', 'coveragereport-py'), '--omit=/usr/*'],
priority: -95, # run before 'coverage-py'
is_parallel: false)
test('coverage-py',
pycoverage,
args: ['report', '--omit=/usr*', '--show-missing', '--fail-under=100'],
args: ['report', '--omit=/usr/*', '--show-missing', '--fail-under=100'],
priority: -99, # run last
is_parallel: false)
endif
Expand Down

0 comments on commit a6e6c94

Please sign in to comment.