From 8061f8577d151919ee17f62f2b9004e64c566140 Mon Sep 17 00:00:00 2001 From: ngie Date: Wed, 23 Dec 2015 09:11:18 +0000 Subject: 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 --- lib/msun/tests/fma_test.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/msun') diff --git a/lib/msun/tests/fma_test.c b/lib/msun/tests/fma_test.c index af7910e..dfcea2a 100644 --- a/lib/msun/tests/fma_test.c +++ b/lib/msun/tests/fma_test.c @@ -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]); -- cgit v1.1