[svn-r17405] I added a condition check for the conversion from unsigned to float. When the configure

detects the conversion working, a macro is set.  If there's problem with this conversion like
Pathscale compiler, skip the test.

Tested on jam.  Need to verify it on pathscale machine.
This commit is contained in:
Raymond Lu 2009-08-21 13:57:10 -05:00
parent d591ac4bf7
commit 5c839af920

View File

@ -4890,7 +4890,9 @@ run_int_fp_conv(const char *name)
nerrors += test_conv_int_fp(name, TEST_NORMAL, H5T_NATIVE_LONG, H5T_NATIVE_FLOAT);
nerrors += test_conv_int_fp(name, TEST_NORMAL, H5T_NATIVE_LONG, H5T_NATIVE_DOUBLE);
#if H5_ULONG_TO_FLOAT_ACCURATE
nerrors += test_conv_int_fp(name, TEST_NORMAL, H5T_NATIVE_ULONG, H5T_NATIVE_FLOAT);
#endif
nerrors += test_conv_int_fp(name, TEST_NORMAL, H5T_NATIVE_ULONG, H5T_NATIVE_DOUBLE);
#endif