feenableexcept() not working with Cygwin on Appveyor
Hi there,
I am experiencing a very strange test failure, due to the fact that after a call to feenableexcept() (in a forked process) upon division by zero the signal is not raised:
should_crash___when__feenableexcept_was_called FE__with_Plugin FAIL
https://ci.appveyor.com/project/arstrube/cpputest/build/3.7.0-ci943/job/8waw4qdi72bowlec/tests
The same test is run successfully with MinGW:
https://ci.appveyor.com/project/arstrube/cpputest/build/3.7.0-ci943/job/4lhujta6nuey7apo/tests
What is even more strange, I have run these tests with Cygwin Gcc 4.8 and 5.3 on my local machine, and the test succeeds every time as expected. There is another test to verify the "division by zero" flag is set upon division by zero.
Any help would be much appreciated.
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
1 Posted by Robert on Feb 18, 2016 @ 02:11 PM
The same test run in the parent process will end with a core dump (as expected, but not helpful ;-).
So, how come no core dump occurs when run in a child process?
Ilya Finkelshteyn closed this discussion on Aug 25, 2018 @ 02:04 AM.