-
Notifications
You must be signed in to change notification settings - Fork 989
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
[fix] Use 'profile_build' (if given) to create graph for the test_package functionality #7182
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still some doubts I need to test
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd say this is already good as-is, despite other possible fixes or other open issues
I've removed the TODOs and refactor the new tests to avoid duplicated code. I also think it is good as it is. |
Changelog: Fix: Graph created for the
test_package/conanfile.py
recipe takes theprofile:build
if given.Docs: omit
Related to some comments in #7132 (comment)
The
test_package
functionality was not taking into account theprofile:build
so thetools.cross_building
tool was not able to identify context properly... andbuild_requires
in the test_package recipe didn't assign to the proper context.