mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-03-13 16:47:58 +08:00
[svn-r1274] Added code to delete the core file that maybe generated by
SIGFPE during the test.
This commit is contained in:
parent
315ea1e460
commit
b6096d832c
@ -221,6 +221,8 @@ generates_sigfpe(void)
|
||||
} else if (WIFSIGNALED(status) && SIGFPE==WTERMSIG(status)) {
|
||||
puts("Floating-point overflow cases cannot be safely tested.");
|
||||
skip_overflow_tests_g = TRUE;
|
||||
/* delete the core dump file that SIGFPE may have created */
|
||||
unlink("core");
|
||||
}
|
||||
#else
|
||||
puts("Cannot determine if floating-point overflows generate a SIGFPE;");
|
||||
|
Loading…
x
Reference in New Issue
Block a user