Skip to content
This repository has been archived by the owner on Jan 31, 2022. It is now read-only.

ana_scans.py doesn't fail if one of the subcommand fails #28

Closed
1 of 2 tasks
lmoureaux opened this issue Aug 25, 2017 · 0 comments
Closed
1 of 2 tasks

ana_scans.py doesn't fail if one of the subcommand fails #28

lmoureaux opened this issue Aug 25, 2017 · 0 comments

Comments

@lmoureaux
Copy link
Contributor

Brief summary of issue

ana_scans.py invokes other commands such as anaUltraScurve.py. However, ana_scans.py doesn't notice when one of those commands fails, and will happily keep running. ana_scans.py will exit with status code zero even if somewhat went horribly wrong. It should instead follow the usual conventions and return a non-zero status code.

Types of issue

  • Bug report (report an issue with the code)
  • Feature request (request for change which adds functionality)

Expected Behavior

If one of the subcommands fails, I expect ana_scans.py to at least report a non-zero status code.

Current Behavior

The status code is always zero (except maybe when killed).

Context (for feature requests)

Was trying to use ana_scans.py to setup unit tests on Travis (see #27).

Your Environment

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant