diff options
author | Leon Arber <larber@ncsa.uiuc.edu> | 2005-04-25 19:33:44 (GMT) |
---|---|---|
committer | Leon Arber <larber@ncsa.uiuc.edu> | 2005-04-25 19:33:44 (GMT) |
commit | 12088553352465908be0d5e4981a9503e78e4026 (patch) | |
tree | cdb4364c481da4dba7f87f654c9202e2337e71eb /test | |
parent | b3c8b2f846cc16b45a61783ca6b9d3247f8ed61c (diff) | |
download | hdf5-12088553352465908be0d5e4981a9503e78e4026.zip hdf5-12088553352465908be0d5e4981a9503e78e4026.tar.gz hdf5-12088553352465908be0d5e4981a9503e78e4026.tar.bz2 |
[svn-r10660] Purpose:
bug fix (sorta)
Description:
Rename H5_LLONG_TO_FP_CAST_WORKS to H5_LLONG_TO_FP_CAST_BROKEN
Solution:
Since a test for H5_LLONG_TO_FP_CAST_WORKS is not present in the configure script,
the dtransform test would assume that this cast doesn't work and skip the test. Change the variable around
so that, by default, it is assumed a long long to double cast does work.
Platforms tested:
minor change: copper, sol
Misc. update:
Diffstat (limited to 'test')
-rw-r--r-- | test/dtransform.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/dtransform.c b/test/dtransform.c index 8e77590..b3bce4f 100644 --- a/test/dtransform.c +++ b/test/dtransform.c @@ -247,14 +247,14 @@ int main(void) TEST_TYPE_CONTIG(dxpl_id_c_to_f, long, H5T_NATIVE_LONG, "long", windchillFfloat, 1); TEST_TYPE_CONTIG(dxpl_id_utrans_inv, unsigned long, H5T_NATIVE_ULONG, "ulong", transformData, 0); -#ifdef H5_LLONG_TO_FP_CAST_WORKS +#ifndef H5_LLONG_TO_FP_CAST_BROKEN TEST_TYPE_CONTIG(dxpl_id_c_to_f, long_long, H5T_NATIVE_LLONG, "llong", windchillFfloat, 1); #else TESTING("contiguous, with type conversion (float->llong)") SKIPPED() #endif -#ifdef H5_ULLONG_TO_FP_CAST_WORKS +#ifndef H5_LLONG_TO_FP_CAST_BROKEN TEST_TYPE_CONTIG(dxpl_id_utrans_inv, unsigned long_long, H5T_NATIVE_ULLONG, "ullong", transformData, 0); #else TESTING("contiguous, with type conversion (float->ullong)") @@ -273,14 +273,14 @@ int main(void) TEST_TYPE_CHUNK(dxpl_id_utrans_inv, unsigned int, H5T_NATIVE_UINT, "uint", transformData, 0); TEST_TYPE_CHUNK(dxpl_id_c_to_f, long, H5T_NATIVE_LONG, "long", windchillFfloat, 1); TEST_TYPE_CHUNK(dxpl_id_utrans_inv, unsigned long, H5T_NATIVE_ULONG, "ulong", transformData, 0); -#ifdef H5_LLONG_TO_FP_CAST_WORKS +#ifndef H5_LLONG_TO_FP_CAST_BROKEN TEST_TYPE_CHUNK(dxpl_id_c_to_f, long_long, H5T_NATIVE_LLONG, "llong", windchillFfloat, 1); #else TESTING("chunked, with type conversion (float->llong)") SKIPPED() #endif -#ifdef H5_ULLONG_TO_FP_CAST_WORKS +#ifndef H5_LLONG_TO_FP_CAST_BROKEN TEST_TYPE_CHUNK(dxpl_id_utrans_inv, unsigned long_long, H5T_NATIVE_ULLONG, "ullong", transformData, 0); #else TESTING("chunked, with type conversion (float->ullong)") |