From owner-freebsd-testing@freebsd.org  Tue Feb 14 01:53:31 2017
Return-Path: <owner-freebsd-testing@freebsd.org>
Delivered-To: freebsd-testing@mailman.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by mailman.ysv.freebsd.org (Postfix) with ESMTP id 29249CDDCBB
 for <freebsd-testing@mailman.ysv.freebsd.org>;
 Tue, 14 Feb 2017 01:53:31 +0000 (UTC)
 (envelope-from bugzilla-noreply@freebsd.org)
Received: from kenobi.freebsd.org (kenobi.freebsd.org
 [IPv6:2001:1900:2254:206a::16:76])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 0E44F1627
 for <freebsd-testing@freebsd.org>; Tue, 14 Feb 2017 01:53:31 +0000 (UTC)
 (envelope-from bugzilla-noreply@freebsd.org)
Received: from bugs.freebsd.org ([127.0.1.118])
 by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v1E1rUFO046347
 for <freebsd-testing@freebsd.org>; Tue, 14 Feb 2017 01:53:30 GMT
 (envelope-from bugzilla-noreply@freebsd.org)
From: bugzilla-noreply@freebsd.org
To: freebsd-testing@freebsd.org
Subject: [Bug 217084] lib/msun: clang 4.0 fails to ignore some tests
Date: Tue, 14 Feb 2017 01:53:31 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: Base System
X-Bugzilla-Component: tests
X-Bugzilla-Version: CURRENT
X-Bugzilla-Keywords: patch, regression
X-Bugzilla-Severity: Affects Only Me
X-Bugzilla-Who: ngie@FreeBSD.org
X-Bugzilla-Status: In Progress
X-Bugzilla-Resolution: 
X-Bugzilla-Priority: ---
X-Bugzilla-Assigned-To: freebsd-testing@freebsd.org
X-Bugzilla-Flags: 
X-Bugzilla-Changed-Fields: bug_status
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/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-BeenThere: freebsd-testing@freebsd.org
X-Mailman-Version: 2.1.23
Precedence: list
List-Id: Testing on FreeBSD <freebsd-testing.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-testing>, 
 <mailto:freebsd-testing-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-testing/>
List-Post: <mailto:freebsd-testing@freebsd.org>
List-Help: <mailto:freebsd-testing-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-testing>, 
 <mailto:freebsd-testing-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 14 Feb 2017 01:53:31 -0000

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.=