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

Exceptions in signal handlers should fail tests #4

Open
ptomato opened this issue Mar 2, 2015 · 0 comments
Open

Exceptions in signal handlers should fail tests #4

ptomato opened this issue Mar 2, 2015 · 0 comments

Comments

@ptomato
Copy link
Owner

ptomato commented Mar 2, 2015

GJS exceptions can't be caught across the boundary of a signal handler. So if a signal handler or idle function throws an exception, then your test won't fail. Possibly Jasmine can even hang if no specs ever execute.

ptomato added a commit that referenced this issue Mar 2, 2015
GJS exceptions can't be caught across the boundary of a signal handler.
So if a signal handler or idle function throws an exception, then your
test won't fail. Possibly Jasmine can even hang if no specs ever execute.

However, this code won't work because g_set_log_handler() is not
introspectable.

[#4]
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