Bug 205451 - tools/regression/lib/msun/test-lround fails on head
Summary: tools/regression/lib/msun/test-lround fails on head
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: tests (show other bugs)
Version: 10.2-STABLE
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-testing (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-20 04:56 UTC by Enji Cooper
Modified: 2021-04-22 11:09 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Enji Cooper freebsd_committer 2015-12-20 04:56:12 UTC
This testcase fails on amd64/i386 on head, but not on stable/10:

$ cd tools/regression/lib/msun
$ prove -v test-lround.t 
test-lround.t .. 
1..1
Assertion failed: (fetestexcept(FE_ALL_EXCEPT) == (0x01)), function main, file test-lround.c, line 100.
Failed 1/1 subtests 

Test Summary Report
-------------------
test-lround.t (Wstat: 134 Tests: 0 Failed: 0)
  Non-zero wait status: 134
  Parse errors: Bad plan.  You planned 1 tests but ran 0.
Files=1, Tests=0,  1 wallclock secs ( 0.04 usr  0.05 sys +  0.10 cusr  0.98 csys =  1.18 CPU)
Result: FAIL

A workaround to "enable" this test on amd64/i386 is coming soon.
Comment 1 Enji Cooper freebsd_committer 2015-12-20 04:58:17 UTC
Actually, there isn't much value in turning it on. I'll just leave it out of the build, but comment out the line that builds it into the FreeBSD test suite so it'll be easy to replicate this issue later.
Comment 2 commit-hook freebsd_committer 2021-04-15 15:28:53 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=062293c2c471c6affb46f0ba44e7b7ee5b77b591

commit 062293c2c471c6affb46f0ba44e7b7ee5b77b591
Author:     Alex Richardson <arichardson@FreeBSD.org>
AuthorDate: 2021-04-15 15:07:58 +0000
Commit:     Alex Richardson <arichardson@FreeBSD.org>
CommitDate: 2021-04-15 15:28:09 +0000

    Remove XFAIL from tests/lib/msun/lround_test:main

    This test no longer fails after 3b00222f156dca5700c839d73e36daf479fa640c.

    PR:             205451
    MFC after:      1 week

 lib/msun/tests/lround_test.c | 1 -
 1 file changed, 1 deletion(-)
Comment 4 commit-hook freebsd_committer 2021-04-22 11:09:45 UTC
A commit in branch stable/13 references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=d08c4d80abd8fc49771f9e3895a5d519633a64ef

commit d08c4d80abd8fc49771f9e3895a5d519633a64ef
Author:     Alex Richardson <arichardson@FreeBSD.org>
AuthorDate: 2021-04-15 15:07:58 +0000
Commit:     Alex Richardson <arichardson@FreeBSD.org>
CommitDate: 2021-04-22 09:44:55 +0000

    Remove XFAIL from tests/lib/msun/lround_test:main

    This test no longer fails after 3b00222f156dca5700c839d73e36daf479fa640c.

    PR:             205451
    MFC after:      1 week

    (cherry picked from commit 062293c2c471c6affb46f0ba44e7b7ee5b77b591)

 lib/msun/tests/lround_test.c | 1 -
 1 file changed, 1 deletion(-)