Closed gaming-hacker closed 8 years ago
I admit it looks scary but it is actually completely normal and expected :smile:
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.
Hope this clears things up a bit!
ok thanks!
i linked this against gfortran-5.3, gfortran-6-latest and gfortran-6-dev with gsl 1.16 all report following