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

Update Result so it can consider different "ok" exit values #541

Open
bitprophet opened this issue Jun 19, 2018 · 0 comments
Open

Update Result so it can consider different "ok" exit values #541

bitprophet opened this issue Jun 19, 2018 · 0 comments

Comments

@bitprophet
Copy link
Member

Right now, the runners.Result class defines whether a Runner execution succeeded or failed, in its .ok property-method. At the moment it's a hardcoded == 0; it should become configurable as in Fabric 1, so users can set up for expected nonzero exits without having to try/except.

Should involve:

  • configuration value in the run tree
  • kwarg in run
  • passed into Result during result creation
  • honored by Result.ok
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant