diff options
author | Raymond Lu <songyulu@hdfgroup.org> | 2005-02-24 22:54:05 (GMT) |
---|---|---|
committer | Raymond Lu <songyulu@hdfgroup.org> | 2005-02-24 22:54:05 (GMT) |
commit | b0c346caa201cdc5bf40a314910ac33c75ba8951 (patch) | |
tree | 808620c125a73088971c3b6291a58cb137593d79 /test/dsets.c | |
parent | b67493fcda5ffe9f51b65ee95ca23714b7d9a555 (diff) | |
download | hdf5-b0c346caa201cdc5bf40a314910ac33c75ba8951.zip hdf5-b0c346caa201cdc5bf40a314910ac33c75ba8951.tar.gz hdf5-b0c346caa201cdc5bf40a314910ac33c75ba8951.tar.bz2 |
[svn-r10081] Purpose: Some Kind of Verification
Description: The library didn't handle incorrect hardware conversion for datatype. It simply did
convert to incorrect data if any hardware didn't handle correctly.
Solution: During configuration, incorrect hardware conversion is detected and some macros are
defined. Use these macros to decide whether to register hardware conversion in H5T.c. If no hardware
conversion function is registered for certain pair of datatypes, software conversion function will
be used as the conversion path. Although slower than hardware conversion, we're more confident
software conversion is accurate.
So in one sentence to describe library's behavior, if some hardware conversion doesn't work well,
software conversion will be used instead.
Platforms tested: h5committest and fuss.
Misc. update: some changes to configure's comments.
Diffstat (limited to 'test/dsets.c')
-rw-r--r-- | test/dsets.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/dsets.c b/test/dsets.c index da5c5d5..8646485 100644 --- a/test/dsets.c +++ b/test/dsets.c @@ -5122,6 +5122,7 @@ int main(void) nerrors += test_missing_chunk(file)<0 ?1:0; if (H5Fclose(file)<0) goto error; + if (nerrors) goto error; printf("All dataset tests passed.\n"); h5_cleanup(FILENAME, fapl); |