Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

-Db_coverage=true has no effect in meson 0.60.1 #9585

Open
qmor opened this issue Nov 17, 2021 · 1 comment
Open

-Db_coverage=true has no effect in meson 0.60.1 #9585

qmor opened this issue Nov 17, 2021 · 1 comment

Comments

@qmor
Copy link

qmor commented Nov 17, 2021

Describe the bug
looks like option -Db_coverage=true ignored by meson.

To Reproduce

make a simple meson.build and try to generate build scripts for ninja backend with option -Db_coverage=true

meson build -Db_coverage=true

Expected behavior
build.ninja must contains Coverage rules section

system parameters

  • This is not a cross build
  • Windows 10 with installed gcovr (by pip) in PATH
  • Python version is 3.9.0
  • meson --version 0.60.1
  • ninja --version 1.10.2.git.kitware.jobserver-1

Looking for source code i've found in ninjabackend.py:560 what b_coverage variable located in self.environment.options (in str representation), but code is trying to find it in self.environment.coredata.options, but i'm not an expert in meson source code

@tristan957
Copy link
Contributor

I am assuming this doesn't happen anymore and should be closed.

cc @eli-schwartz

@eli-schwartz eli-schwartz changed the title -Db_covarage=true has no effect in meson 0.60.1 -Db_coverage=true has no effect in meson 0.60.1 Feb 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants