From 08fde753d9cdce4370f3746fa318eaace4c6795e Mon Sep 17 00:00:00 2001 From: Raymond Lu Date: Thu, 12 Aug 2004 10:24:46 -0500 Subject: [svn-r9073] Purpose: bug fix Description: The test tried to read a dataset of H5T_STD_I32LE type and verify with the size of H5T_NATIVE_INT in function test_misc20(). This will fail on some machines like Crays where the size of H5T_NATIVE_INT is 8 bytes. Solution: Changed from H5T_NATIVE_INT to H5T_STD_I32LE. Platforms tested: Crays - very simple change. --- test/tmisc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/tmisc.c b/test/tmisc.c index 6952fa7..65a0110 100644 --- a/test/tmisc.c +++ b/test/tmisc.c @@ -3482,7 +3482,7 @@ test_misc20(void) /* Get the layout contiguous storage size */ ret = H5D_layout_contig_size_test(did,&contig_size); CHECK(ret, FAIL, "H5D_layout_contig_size_test"); - VERIFY(contig_size, MISC20_SPACE_DIM0*MISC20_SPACE_DIM1*H5Tget_size(H5T_NATIVE_INT), "H5D_layout_contig_size_test"); + VERIFY(contig_size, MISC20_SPACE_DIM0*MISC20_SPACE_DIM1*H5Tget_size(H5T_STD_I32LE), "H5D_layout_contig_size_test"); /* Close datasset */ ret=H5Dclose(did); -- cgit v0.12