diff options
author | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2008-10-14 20:38:57 (GMT) |
---|---|---|
committer | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2008-10-14 20:38:57 (GMT) |
commit | c7bc8d9d2841e712b61f67c3f13f4475294874a9 (patch) | |
tree | 1345a185398c8d602afae9d2a1c9f92828d343b7 /tools/h5diff | |
parent | 56b70ea5052cc7821b5ad8837a49af772743368a (diff) | |
download | hdf5-c7bc8d9d2841e712b61f67c3f13f4475294874a9.zip hdf5-c7bc8d9d2841e712b61f67c3f13f4475294874a9.tar.gz hdf5-c7bc8d9d2841e712b61f67c3f13f4475294874a9.tar.bz2 |
[svn-r15866] add support for long double type
tested: windows, linux (32,64)
Diffstat (limited to 'tools/h5diff')
-rw-r--r-- | tools/h5diff/h5diffgentest.c | 17 | ||||
-rw-r--r-- | tools/h5diff/testfiles/h5diff_17.txt | 1 | ||||
-rw-r--r-- | tools/h5diff/testfiles/h5diff_19.txt | 1 | ||||
-rw-r--r-- | tools/h5diff/testfiles/h5diff_basic1.h5 | bin | 9392 -> 9664 bytes | |||
-rwxr-xr-x | tools/h5diff/testh5diff.sh | 2 |
5 files changed, 21 insertions, 0 deletions
diff --git a/tools/h5diff/h5diffgentest.c b/tools/h5diff/h5diffgentest.c index 7d9add7..b713e9f 100644 --- a/tools/h5diff/h5diffgentest.c +++ b/tools/h5diff/h5diffgentest.c @@ -259,6 +259,23 @@ int test_basic(const char *fname1, const char *fname2, const char *fname3) } +#if H5_SIZEOF_LONG_DOUBLE !=0 + { + + /*------------------------------------------------------------------------- + * H5T_NATIVE_LDOUBLE + *------------------------------------------------------------------------- + */ + + long double data15[3][2] ={{1,1},{1,1},{1,1}}; + + write_dset(gid1,2,dims2,"ld",H5T_NATIVE_LDOUBLE,data15); + + } +#endif + + + /*------------------------------------------------------------------------- * NaNs in H5T_NATIVE_FLOAT *------------------------------------------------------------------------- diff --git a/tools/h5diff/testfiles/h5diff_17.txt b/tools/h5diff/testfiles/h5diff_17.txt index e92e0be..40ea563 100644 --- a/tools/h5diff/testfiles/h5diff_17.txt +++ b/tools/h5diff/testfiles/h5diff_17.txt @@ -21,6 +21,7 @@ file1 file2 x /g1/fp17 x /g1/fp18 x /g1/fp2 + x /g1/ld x /g2 group : </> and </> diff --git a/tools/h5diff/testfiles/h5diff_19.txt b/tools/h5diff/testfiles/h5diff_19.txt index cda2f73..9e84fe8 100644 --- a/tools/h5diff/testfiles/h5diff_19.txt +++ b/tools/h5diff/testfiles/h5diff_19.txt @@ -19,6 +19,7 @@ file1 file2 x /g1/fp17 x /g1/fp18 x /g1/fp2 + x /g1/ld group : </> and </> 0 differences found diff --git a/tools/h5diff/testfiles/h5diff_basic1.h5 b/tools/h5diff/testfiles/h5diff_basic1.h5 Binary files differindex 389e2b3..227c934 100644 --- a/tools/h5diff/testfiles/h5diff_basic1.h5 +++ b/tools/h5diff/testfiles/h5diff_basic1.h5 diff --git a/tools/h5diff/testh5diff.sh b/tools/h5diff/testh5diff.sh index d2fd6f8..e541a7c 100755 --- a/tools/h5diff/testh5diff.sh +++ b/tools/h5diff/testh5diff.sh @@ -573,6 +573,8 @@ TOOLTEST h5diff_101.txt -v $FILE1 $FILE1 g1/d1 g1/d2 TESTING $H5DIFF -v $SRCFILE1 $SRCFILE1 g1/fp1 g1/fp2 TOOLTEST h5diff_102.txt -v $FILE1 $FILE1 g1/fp1 g1/fp2 + + # ############################################################################## # # END # ############################################################################## |