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

Try to handle interrupting runtests better #25348

Merged
merged 1 commit into from
Jan 7, 2018
Merged

Try to handle interrupting runtests better #25348

merged 1 commit into from
Jan 7, 2018

Conversation

Keno
Copy link
Member

@Keno Keno commented Jan 1, 2018

I had a test that was hanging and I did not know which one. Hitting
^C would kill everything without showing which tests failed and which
tests didn't complete. My next attempt was to enable InterruptException,
but that doesn't seem to play well with the Distributed stuff (a topic
for another time). This works by setting STDIN to raw and monitoring it
for ^C instead.

I had a test that was hanging and I did not know which one. Hitting
^C would kill everything without showing which tests failed and which
tests didn't complete. My next attempt was to enable InterruptException,
but that doesn't seem to play well with the Distributed stuff (a topic
for another time). This works by setting STDIN to raw and monitoring it
for ^C instead.
@ararslan ararslan added the error handling Handling of exceptions by Julia or the user label Jan 2, 2018
@Keno Keno merged commit 743539b into master Jan 7, 2018
@KristofferC
Copy link
Member

Any comments on #25417?

@Keno
Copy link
Member Author

Keno commented Jan 7, 2018

Seems fine to me, but I couldn't get the signal-based version work reliably for the base tests at least.

@StefanKarpinski StefanKarpinski deleted the kf/interrupttests branch January 7, 2018 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
error handling Handling of exceptions by Julia or the user
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants