mirror of
https://github.com/opnsense/src.git
synced 2026-06-05 14:54:21 -04:00
Some of the NetBSD contributed tests are gated behind the
__HAVE_LONG_DOUBLE flag. This flag seems to be defined only for
platforms whose long double is larger than their double. I could not
find this explicitly documented anywhere, but it is implied by the
definitions in NetBSD's sys/arch/${arch}/include/math.h headers, and the
following assertion from the UBSAN code:
#ifdef __HAVE_LONG_DOUBLE
long double LD;
ASSERT(sizeof(LD) > sizeof(uint64_t));
#endif
RISC-V has 128-bit long doubles, so enable the tests on this platform,
and update the comments to better explain the purpose of this flag.
Reviewed by: ngie
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D25419
|
||
|---|---|---|
| .. | ||
| execve | ||
| posix_spawn | ||
| arc4random_test.c | ||
| dir2_test.c | ||
| dlopen_empty_test.c | ||
| fmtcheck_test.c | ||
| fmtmsg_test.c | ||
| fnmatch_test.c | ||
| fnmatch_testcases.h | ||
| fpclassify2_test.c | ||
| ftw_test.c | ||
| getentropy_test.c | ||
| getmntinfo_test.c | ||
| glob2_test.c | ||
| makecontext_test.c | ||
| Makefile | ||
| Makefile.depend | ||
| popen_test.c | ||
| posix_spawn_test.c | ||
| realpath2_test.c | ||
| sigsetops_test.c | ||
| spawnp_enoexec.sh | ||
| test-fnmatch.c | ||
| wordexp_test.c | ||