History log of /freebsd-current/lib/msun/tests/trig_test.c
Revision Date Author Comments
# a2f733ab 24-Nov-2023 Warner Losh <imp@FreeBSD.org>

lib: Automated cleanup of cdefs and other formatting

Apply the following automated changes to try to eliminate
no-longer-needed sys/cdefs.h includes as well as now-empty
blank lines in a row.

Remove /^#if.*\n#endif.*\n#include\s+<sys/cdefs.h>.*\n/
Remove /\n+#include\s+<sys/cdefs.h>.*\n+#if.*\n#endif.*\n+/
Remove /\n+#if.*\n#endif.*\n+/
Remove /^#if.*\n#endif.*\n/
Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/types.h>/
Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/param.h>/
Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/capsicum.h>/

Sponsored by: Netflix


# 1d386b48 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line .c pattern

Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/


# b424e003 22-Mar-2021 Alex Richardson <arichardson@FreeBSD.org>

Improve test messages for msun tests

Also print the mismatched values when numbers compare not equal.

Reviewed By: dim
Differential Revision: https://reviews.freebsd.org/D29091


# 133bc645 22-Mar-2021 Alex Richardson <arichardson@FreeBSD.org>

Convert the msun tests to ATF

This provides better error messages that just an assertion failure and
also makes it easier to mark individual tests as XFAIL.
It was also helpful when coming up with D28786 and D28787.

Differential Revision: https://reviews.freebsd.org/D28798


# d4a6843b 29-Jan-2021 Alex Richardson <arichardson@FreeBSD.org>

Update comment missed in 83ff5d5d98cbcf9b66dccd70022358aec8918a14

Reported by: jrtc27


# 83ff5d5d 28-Jan-2021 Alex Richardson <arichardson@FreeBSD.org>

Un-XFAIL two tests with Clang > 10

SVN r343917 fixed this for in-tree clang, but when building with a newer
out-of-tree clang the test was still marked as XFAIL.

Reviewed By: dim
Differential Revision: https://reviews.freebsd.org/D28390


# bc8fc007 08-Feb-2019 Dimitry Andric <dim@FreeBSD.org>

Amend r343442, by only expecting the lib.msun.cbrt_test.cbrtl_powl and
trig_test.reduction test cases to fail, if the fixes from r343916 have
not yet been applied to the base compiler.

Reported by: lwhsu
PR: 234040
Upstream PR: https://bugs.llvm.org/show_bug.cgi?id=40206
MFC after: 1 week


# 24df7b15 25-Jan-2019 Li-Wen Hsu <lwhsu@FreeBSD.org>

Temporarily mark lib.msun.{cbrt_test.cbrtl_powl,trig_test.reduction}
expected failure after clang700-import merge

PR: 234040
Reviewed by: ngie, markj
Approved by: markj (mentor)
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D18938


# b92e8635 26-Aug-2017 Enji Cooper <ngie@FreeBSD.org>

Revert r321457

It doesn't fail after ^/head@r322855 (the releng_50 clang merge).

PR: 220989
MFC after: 2 months
MFC with: r321369, r322855


# 9f273754 25-Jul-2017 Enji Cooper <ngie@FreeBSD.org>

Re-add #endif accidentally deleted in r321484

MFC after: 1 month
MFC with: r321455, r321484


# db926477 25-Jul-2017 Enji Cooper <ngie@FreeBSD.org>

Only test ld_pi_odd with LDBL_MANT_DIG == 64 to fix the build

The empty (unimplemented) test inputs for sparc64 trigger a -Wtype-limits build
failure because nitems of an empty array is always false, i.e., deadcode.

MFC after: 1 month
MFC with: r321455
Reported by: Jenkins (sparc64 job)


# bc82a381 24-Jul-2017 Enji Cooper <ngie@FreeBSD.org>

Mark :reduction as an expected failure

It fails with clang 5.0+.

PR: 220989
MFC after: 2 months
MFC with: r321369
Reported by: Jenkins


# 4580a78e 24-Jul-2017 Enji Cooper <ngie@FreeBSD.org>

Convert lib/msun/trig_test from TAP to ATF format

Only expose :accuracy and :reduction if !i386, similar to before,
but more holistically to avoid future -Wunused issue with the unused
functions.

MFC after: 1 month


# 2ce4911b 24-Jul-2017 Enji Cooper <ngie@FreeBSD.org>

Mark :reduction as an expected failure

It fails with clang 5.0+.

PR: 220989
MFC after: 2 months
MFC with: r321369
Reported by: Jenkins


# d1aa00f2 24-Jul-2017 Enji Cooper <ngie@FreeBSD.org>

Convert lib/msun/trig_test from TAP to ATF format

Only expose :accuracy and :reduction if !i386, similar to before,
but more holistically to avoid future -Wunused issue with the unused
functions.

MFC after: 1 month


# abe427af 04-Mar-2017 Enji Cooper <ngie@FreeBSD.org>

Fix warnings in lib/msun/tests/... to help pave way for WARNS?= 6.

- Staticize variables.
- Use nitems liberally. Wherever nitems is used, use unsigned integers
- Remove unused variables (argc, argv, etc)

This fixes most issues -- some issues remain in logarithm_test though.

MFC after: 1 week
Sponsored by: Dell EMC Isilon


# 4dc607e7 16-Dec-2015 Enji Cooper <ngie@FreeBSD.org>

Integrate a number of testcases from tools/regression/lib/msun
into the FreeBSD test suite

There's no functional change with these testcases; they're purposely
being left in TAP format for the time being

Other testcases which crash on amd64/i386 as-is have not been
integrated yet (they need to be retested on a later version of
CURRENT, as I haven't used i386 in some time)

MFC after: 3 weeks
Sponsored by: EMC / Isilon Storage Division