diff --git a/test/tselect.c b/test/tselect.c index 1df0fbeb1a..64fd69e76e 100644 --- a/test/tselect.c +++ b/test/tselect.c @@ -799,6 +799,7 @@ test_select_combo(void) tbuf=wbuf+i; tbuf2=rbuf+(i*SPACE3_DIM2); if(*tbuf!=*tbuf2) { + num_errs++; printf("element values don't match!, i=%d\n",i); } /* end if */ } /* end for */ @@ -964,8 +965,9 @@ test_select_hyper_stride(void) 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); + printf("*tbuf=%u, *tbuf2=%u\n",(unsigned)*tbuf,(unsigned)*tbuf2); #endif /* QAK */ + num_errs++; } /* end if */ } /* end for */ @@ -1091,6 +1093,7 @@ test_select_hyper_contig(void) /* Compare data read with data written out */ if(HDmemcmp(rbuf,wbuf,sizeof(uint16_t)*30*12)) { printf("hyperslab values don't match!\n"); + num_errs++; #ifdef QAK for(i=0, tbuf=wbuf; i<12; i++) for(j=0; j<30; j++) @@ -1239,6 +1242,7 @@ test_select_hyper_copy(void) /* Compare data read with data written out */ if(HDmemcmp(rbuf,rbuf2,sizeof(uint16_t)*SPACE3_DIM1*SPACE3_DIM2)) { printf("hyperslab values don't match!\n"); + num_errs++; } /* end if */ /* Close memory dataspace */ @@ -1407,7 +1411,8 @@ test_select_point_copy(void) /* Compare data read with data written out */ if(HDmemcmp(rbuf,rbuf2,sizeof(uint16_t)*SPACE3_DIM1*SPACE3_DIM2)) { - printf("hyperslab values don't match!\n"); + printf("point values don't match!\n"); + num_errs++; } /* end if */ /* Close memory dataspace */ @@ -1576,6 +1581,7 @@ test_select_hyper_offset(void) for(j=0; j