-
Notifications
You must be signed in to change notification settings - Fork 118
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
Neuron doesn't return exit code to command line when there is an error #335
Comments
I've also had to rely on parsing @iomaganaris Do you deploy NEURON on any Continuous Integration platforms? If so, which, and could you share your yaml configuration with me? I have trouble getting NEURON installed on Travis CI. |
Hello @Helveg , There is currently an open PR regarding the addition of the |
I recalled an earlier investigation similar to this issue reported in JIRA : the exit code of For example
|
The PR #1633 has been merged including two features:
As proposed by @nrnhines , in the future we will extend the behavior to
|
During creating tests for
NEURON
I found out that when there is an error andNEURON
quits from theHOC
interpreter, it doesn't return an exit code (1
) to the command-line shell.This would be a useful addition, especially for extending the unit tests.
Example:
Another related useful addition for testing would be a function in
HOC
or/andpython
likequit()
to return specific values, like:quit(0)
to return0
to the command-line shell andquit(1)
to return1
.The text was updated successfully, but these errors were encountered: