svn commit: r292647 - head/lib/msun/tests

Garrett Cooper ngie at FreeBSD.org
Wed Dec 23 09:11:19 UTC 2015


Author: ngie
Date: Wed Dec 23 09:11:18 2015
New Revision: 292647
URL: https://svnweb.freebsd.org/changeset/base/292647

Log:
  Use j instead of a hardcoded index (9) and increment it after
  running the NaNs testcases
  
  MFC after: 3 days
  Pointyhat to: ngie
  Sponsored by: EMC / Isilon Storage Division

Modified:
  head/lib/msun/tests/fma_test.c

Modified: head/lib/msun/tests/fma_test.c
==============================================================================
--- head/lib/msun/tests/fma_test.c	Wed Dec 23 07:28:48 2015	(r292646)
+++ head/lib/msun/tests/fma_test.c	Wed Dec 23 09:11:18 2015	(r292647)
@@ -507,7 +507,8 @@ main(int argc, char *argv[])
 
 	fesetround(FE_TONEAREST);
 	test_nans();
-	printf("ok 9 - fma NaNs\n");
+	printf("ok %d - fma NaNs\n", j);
+	j++;
 
 	for (i = 0; i < nitems(rmodes); i++, j++) {
 		printf("rmode = %d\n", rmodes[i]);


More information about the svn-src-head mailing list