Opened 7 years ago

Closed 2 years ago

#845 closed enhancement (fixed)

handle GSL errors gracefully in test suite

Reported by: Peter Owned by: Peter
Priority: trivial Milestone: yat 0.18
Component: test Version: trunk
Keywords: Cc:

Description

When GSL errors occur in the test-suite, the default GSL error handler is invoked which means the test is aborted and counted as FAIL. Abortion is ugly and not really necessary here; I'd prefer a call to exit(1) instead. Perhaps we can have a non-default error handler in the test::Suite class.

For an example see ticket #844

Change History (2)

comment:1 Changed 2 years ago by Peter

Milestone: yat 0.x+yat 0.18
Owner: changed from Jari Häkkinen to Peter
Status: newaccepted

comment:2 Changed 2 years ago by Peter

Resolution: fixed
Status: acceptedclosed

In 3961:

fixes #845. Replace default GSL error handler in tests with one that calls exit(1) instead of abort().

Note: See TracTickets for help on using tickets.