summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeon Arber <larber@ncsa.uiuc.edu>2004-10-26 21:04:31 (GMT)
committerLeon Arber <larber@ncsa.uiuc.edu>2004-10-26 21:04:31 (GMT)
commit1a869e39dc2827ba4fb4f4df6e92513ab0e8c283 (patch)
tree012fc0e2802b072a1278d6ff8c24ab49261f51ef
parent4c8429e3d291be920991ec98b2562ff6f768e85c (diff)
downloadhdf5-1a869e39dc2827ba4fb4f4df6e92513ab0e8c283.zip
hdf5-1a869e39dc2827ba4fb4f4df6e92513ab0e8c283.tar.gz
hdf5-1a869e39dc2827ba4fb4f4df6e92513ab0e8c283.tar.bz2
[svn-r9463] Purpose:
Bug fix. Description: unsigned long long test fails on windows because windows cannot convert from ullong to double Solution: Skip unsigned long long test if H5_ULLONG_TO_FP_CAST_WORKS is not defined. Platforms tested: eirene and will do windows test asap.
-rw-r--r--test/dtransform.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/dtransform.c b/test/dtransform.c
index 45d7cc6..73e9690 100644
--- a/test/dtransform.c
+++ b/test/dtransform.c
@@ -140,6 +140,7 @@ int main(void)
if((err = test_ulong(dxpl_id_utrans_inv)) < 0) TEST_ERROR;
if((err = test_llong(dxpl_id_c_to_f)) < 0) TEST_ERROR;
if((err = test_ullong(dxpl_id_utrans_inv)) < 0) TEST_ERROR;
+
if((err = test_float(dxpl_id_c_to_f, dxpl_id_polynomial)) < 0) TEST_ERROR;
if((err = test_double(dxpl_id_c_to_f)) < 0) TEST_ERROR;
if((err = test_ldouble(dxpl_id_c_to_f)) < 0) TEST_ERROR;
@@ -510,9 +511,12 @@ int test_ullong(const hid_t dxpl_id_utrans_inv)
herr_t err;
TESTING("data transform, no data type conversion (ullong->ullong)")
-
+#ifdef H5_ULLONG_TO_FP_CAST_WORKS
if((err = H5Dread(dset_id_ullong, H5T_NATIVE_ULLONG, H5S_ALL, H5S_ALL, dxpl_id_utrans_inv, transformDataullong))<0) TEST_ERROR;
UCOMPARE(unsigned long_long, *transformDataullong, *transformData, 4)
+#else
+ SKIPPED();
+#endif
return 0;