Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Feb 2017 01:53:31 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-testing@freebsd.org
Subject:   [Bug 217084] lib/msun: clang 4.0 fails to ignore some tests
Message-ID:  <bug-217084-32464-aVHKAb2quI@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-217084-32464@https.bugs.freebsd.org/bugzilla/>
References:  <bug-217084-32464@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217084

Ngie Cooper <ngie@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |In Progress

--- Comment #4 from Ngie Cooper <ngie@FreeBSD.org> ---
(In reply to Dimitry Andric from comment #2)

Probably because you weren't running it with prove:

$ prove -v /usr/tests/lib/msun/fmaxmin_test
/usr/tests/lib/msun/fmaxmin_test ..
1..12
ok 1 - big =3D 1, small =3D 0
ok 2 - big =3D 42, small =3D 41.999996185302734375
ok 3 - big =3D 42.000003814697265625, small =3D 42
ok 4 - big =3D -5, small =3D -5
ok 5 - big =3D -3, small =3D -4
not ok 6 - big =3D 1, small =3D nan# TODO: testcase 6-7 fails invariant wit=
h clang
3.8+ (bug 208703)
not ok 7 - big =3D inf, small =3D nan# TODO: testcase 6-7 fails invariant w=
ith
clang 3.8+ (bug 208703)
ok 8 - big =3D inf, small =3D 1
ok 9 - big =3D -3, small =3D -inf
ok 10 - big =3D 3, small =3D -inf
not ok 11 - big =3D nan, small =3D nan# TODO: testcase 11-12 fails invarian=
t with
clang 3.8+ (bug 208703)
not ok 12 - big =3D 0, small =3D -0# TODO: testcase 11-12 fails invariant w=
ith
clang 3.8+ (bug 208703)
fmaxf(1, nan) raised 0x1
fmaxf(nan, 1) raised 0x1
fmax(1, nan) raised 0x1
fmax(nan, 1) raised 0x1
fminf(1, nan) raised 0x1
fminf(nan, 1) raised 0x1
fmin(1, nan) raised 0x1
fmin(nan, 1) raised 0x1
FAILURE in rounding mode 0
fmaxf(inf, nan) raised 0x1
fmaxf(nan, inf) raised 0x1
fmax(inf, nan) raised 0x1
fmax(nan, inf) raised 0x1
fminf(inf, nan) raised 0x1
fminf(nan, inf) raised 0x1
fmin(inf, nan) raised 0x1
fmin(nan, inf) raised 0x1
FAILURE in rounding mode 0
fmaxf(nan, nan) raised 0x1
fmaxf(nan, nan) raised 0x1
fmax(nan, nan) raised 0x1
fmax(nan, nan) raised 0x1
fminf(nan, nan) raised 0x1
fminf(nan, nan) raised 0x1
fmin(nan, nan) raised 0x1
fmin(nan, nan) raised 0x1
FAILURE in rounding mode 0
fmaxf(-0, 0) =3D -0, expected 0
fmax(-0, 0) =3D -0, expected 0
fminf(0, -0) =3D 0, expected -0
fmin(0, -0) =3D 0, expected -0
FAILURE in rounding mode 0
ok
All tests successful.
Files=3D1, Tests=3D12,  1 wallclock secs ( 0.06 usr  0.28 sys +  0.00 cusr =
 0.02
csys =3D  0.37 CPU)
Result: PASS

The check needed to be converted from a build time compiler check to a comp=
ile
time check because unfortunately the build would break when building 11.x o=
n a
10.3 system, for example.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-217084-32464-aVHKAb2quI>