HomeFreeBSD

test_inf_inputs: Use atf_tc_expect_fail() instead of atf_tc_skip()

Description

test_inf_inputs: Use atf_tc_expect_fail() instead of atf_tc_skip()

Reviewed By: lwhsu
Differential Revision: https://reviews.freebsd.org/D28396

(cherry picked from commit 4d2edf3af1dbd8a3e7cf1b22343a1ecfc2dd41ba)

Fix lib/msun's ctrig_test/test_inf_inputs test case with clang >= 10

This sprinkles a few strategic volatiles in an attempt to defeat clang's
optimization interfering with the expected floating-point exception
flags.

Reported by: lwhsu
PR: 244732

(cherry picked from commit ac76bc1145dd7f4476e5d982ce8f355f71015713)

Details

Provenance
arichardsonAuthored on Jan 29 2021, 9:28 AM
dimCommitted on Feb 12 2021, 8:53 PM
Reviewer
lwhsu
Differential Revision
D28396: test_inf_inputs: Use atf_tc_expect_fail() instead of atf_tc_skip()
Parents
rG19bebaed370c: MFC7071734fae6019d1e3e44daf7deb4478582081cc:
Branches
Unknown
Tags
Unknown