redding / assert

Assertion style testing framework.
https://github.com/redding/assert
MIT License
10 stars 1 forks source link

only trap SIGINFO if available #292

Closed kellyredding closed 6 years ago

kellyredding commented 6 years ago

This signal is available on OSX but not on some Linux flavors (ie BSD). This switches to only trapping if the signal is available.

I noticed this while trying to run tests in CI envs (ie CircleCI).

@jcredding ready for review.

kellyredding commented 6 years ago

@jcredding going to go ahead and merge as I need this to try running tests on CircleCI.