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

Analysis Errors Should Log to Stdout #96

Closed
ax3l opened this issue Nov 13, 2021 · 1 comment
Closed

Analysis Errors Should Log to Stdout #96

ax3l opened this issue Nov 13, 2021 · 1 comment

Comments

@ax3l
Copy link
Member

ax3l commented Nov 13, 2021

In local tests, I quite often forget to activate the right virtual environment or have just forgotten to install a few Python modules in a fresh virtual env. As a consequence, the Python scripts that we use for testing fail, e.g., with an import error.

This error fails the test that ran it, but no info besides " FAILED" is printed to stdout. After some analysis, I then find that {output_dir}/{test_name}.analysis.out contains some error message.

Long story short: we should log a line when the analysis step returns a non-zero error code. This would then be same way as we also report compile errors or crashes and speeds up error diagnosis for mortal humans like me.

@ax3l
Copy link
Member Author

ax3l commented Jan 14, 2022

Proposed in #114

@ax3l ax3l closed this as completed Jan 15, 2022
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

1 participant