-
Notifications
You must be signed in to change notification settings - Fork 993
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
[feature] Make self.dependencies available for test_package #12411
Comments
Hi @uilianries! I think this issue is duplicated. Have a look at conan-io/docs#2794 |
Hi @uilianries I am afraid, this is not possible in 1.X, by design. The The approach would be similar to the one that recipe should use:
|
@franramirez688 @memsharded Thank you both! |
how about:
it may look like:
|
I think that checking the dependencies in a And if an option of a dependency is strictly necessary, it is also possible in just a couple of lines of the |
Closing this one as it's duplicated with conan-io/docs#2794 |
When creating a test package for a Conan tool package, there are few ways to validate its package.
One way checking its output, like its version and comparing from the package:
In case we try to use
self.dependencies["foo"]
, it returnsNone
.The text was updated successfully, but these errors were encountered: