svn commit: r292805 - stable/9/tools/regression/lib/msun
Garrett Cooper
ngie at FreeBSD.org
Sun Dec 27 21:53:22 UTC 2015
Author: ngie
Date: Sun Dec 27 21:53:21 2015
New Revision: 292805
URL: https://svnweb.freebsd.org/changeset/base/292805
Log:
MFstable/10 r292769,r292799:
r292769:
MFC r292493:
Don't run test-fma on i386
It completely fails all assertions on i386 on both stable/9 and stable/10
PR: 205448
X-MFC to: stable/10
Sponsored by: EMC / Isilon Storage Division
r292799:
MFC r292492,r292495,r292647:
r292492:
- Use nitems instead of handrolling the macro
- Use a separate variable for tracking the testcase count instead
of hardcoding the offset for the testcases
Sponsored by: EMC / Isilon Storage Division
r292495:
Initialize j so it doesn't print out a garbage index
Use it consistently instead of i in the first loop
Sponsored by: EMC / Isilon Storage Division
r292647:
Use j instead of a hardcoded index (9) and increment it after
running the NaNs testcases
Pointyhat to: ngie
Sponsored by: EMC / Isilon Storage Division
Modified:
stable/9/tools/regression/lib/msun/test-fma.c
Directory Properties:
stable/9/ (props changed)
stable/9/tools/ (props changed)
stable/9/tools/regression/ (props changed)
Modified: stable/9/tools/regression/lib/msun/test-fma.c
==============================================================================
--- stable/9/tools/regression/lib/msun/test-fma.c Sun Dec 27 21:47:12 2015 (r292804)
+++ stable/9/tools/regression/lib/msun/test-fma.c Sun Dec 27 21:53:21 2015 (r292805)
@@ -37,6 +37,7 @@ __FBSDID("$FreeBSD$");
#include <float.h>
#include <math.h>
#include <stdio.h>
+#include <stdlib.h>
#define ALL_STD_EXCEPT (FE_DIVBYZERO | FE_INEXACT | FE_INVALID | \
FE_OVERFLOW | FE_UNDERFLOW)
@@ -423,6 +424,10 @@ main(int argc, char *argv[])
j = 1;
+#if defined(__i386__)
+ printf("1..0 # SKIP all testcases fail on i386\n");
+ exit(0);
+#endif
printf("1..19\n");
for (i = 0; i < nitems(rmodes); i++, j++) {
More information about the svn-src-stable-9
mailing list