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

recipes: print recipe ENV on failure #2403

Merged
merged 1 commit into from
Jan 7, 2021
Merged

Conversation

mzakharo
Copy link
Contributor

@mzakharo mzakharo commented Jan 7, 2021

Print contents of _env when recipe fails and P4A_FULL_DEBUG is set. Printed export commands allow for recreation of recipe's build enviroment and faster iteration when developing complex recipes. This acts as a poor man's substitute for the analogous devshell feature in OpenEmbedded.

Copy link
Member

@AndreMiras AndreMiras left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, I wish we took the opportunity to increase test coverage of this module slightly.
See tests/test_logger.py if you're motivated 😃

@AndreMiras AndreMiras merged commit 0663e54 into kivy:develop Jan 7, 2021
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

Successfully merging this pull request may close these issues.

2 participants