You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I admit it looks scary but it is actually completely normal and expected 😄
The error_1.f90 example is designed to fail to test the error handling API. This is accomplished here by passing a negative value to fgsl_sf_gamma. This triggers the (default) error handler within GSL (not FGSL), which contains an abort() call resulting in the output you're seeing: the SIGABRT signal is quite revealing here.
The Makefile.am in that directory contains the info needed to run these tests. You will see at the end of the file the following line:
XFAIL_TESTS = error_1
which marks error_1 as a test that is expected to fail. In fact, if for some reason that test would succeed then this would be reported as a failure.
i linked this against gfortran-5.3, gfortran-6-latest and gfortran-6-dev with gsl 1.16 all report following
The text was updated successfully, but these errors were encountered: