From 194b8d633f6126de2a734a17e30dbdd8c7c88bcd Mon Sep 17 00:00:00 2001 From: Enji Cooper Date: Wed, 23 Dec 2015 09:11:18 +0000 Subject: [PATCH] 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(-) diff --git a/lib/msun/tests/fma_test.c b/lib/msun/tests/fma_test.c index af7910e65f27..dfcea2a9fa6e 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]);