-
-
Notifications
You must be signed in to change notification settings - Fork 57
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
cargo llvm-cov report --lcov
fails: No filenames specified!
#304
Comments
You have to set all env vars that show-env shows, not only two env vars. |
It looks like this only works on Linux, but not on Windows. |
Ah, if so, this is probably a duplicate of #300. |
Closing as duplicate of #300 for now. |
This should be fixed in 0.5.30 (#307). |
I'm working on a Python module, implemented in Rust using PyO3 (this one: autosar-data-py)
Testing it using tests on the Rust side doesn't make sense; I wrote test in Python using pytest instead.
I would also like to generate code coverage from the pytest run.
The workflow for testing is:
maturin develop
, which runs cargo build, builds the Python wheel and installs it into the virtualenvTo gather coverage info I tried to:
cargo llvm-cov show-env --export-prefix
cargo llvm-cov report --lcov
This last command fails with the error message "No filenames specified!" and no coverage is generated.
The text was updated successfully, but these errors were encountered: