From 6a3bebec596de6e662b9b3e0507e641880a077c0 Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Wed, 13 Sep 2000 16:58:44 -0500 Subject: [svn-r2545] Updated some printfs to be more informative when failures occur. --- test/tselect.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/test/tselect.c b/test/tselect.c index ac98e3f..15fcc26 100644 --- a/test/tselect.c +++ b/test/tselect.c @@ -948,9 +948,9 @@ test_select_hyper_stride(void) tbuf=wbuf+loc1[i]; tbuf2=rbuf+loc2[i]; if(*tbuf!=*tbuf2) { - printf("hyperslab values don't match!, loc1[%d]=%d, loc2[%d]=%d\n",i,(int)loc1[i],i,(int)loc2[i]); -#ifdef QAK - printf("wbuf=%p, *tbuf=%p, rbuf=%p, tbuf2=%p\n",wbuf,tbuf,rbuf,tbuf2); + printf("%d: hyperslab values don't match!, loc1[%d]=%d, loc2[%d]=%d\n",__LINE__,i,(int)loc1[i],i,(int)loc2[i]); +#ifndef QAK + printf("wbuf=%p, tbuf=%p, rbuf=%p, tbuf2=%p\n",wbuf,tbuf,rbuf,tbuf2); printf("*tbuf=%d, *tbuf2=%d\n",(int)*tbuf,(int)*tbuf2); #endif /* QAK */ } /* end if */ @@ -1750,7 +1750,7 @@ test_select_hyper_union(void) tbuf2=rbuf+(i*SPACE3_DIM2); for(j=0; j