diff options
author | Raymond Lu <songyulu@hdfgroup.org> | 2013-08-26 17:11:26 (GMT) |
---|---|---|
committer | Raymond Lu <songyulu@hdfgroup.org> | 2013-08-26 17:11:26 (GMT) |
commit | 0e548fb251e7f3f685d6fda8cc46ee46764ef4af (patch) | |
tree | cc21b16a8b8babf9a700d6fa00664b167801f7d4 /test/dt_arith.c | |
parent | 8194f34ef79a58dc5e57b374873be4e50ad7ad7b (diff) | |
download | hdf5-0e548fb251e7f3f685d6fda8cc46ee46764ef4af.zip hdf5-0e548fb251e7f3f685d6fda8cc46ee46764ef4af.tar.gz hdf5-0e548fb251e7f3f685d6fda8cc46ee46764ef4af.tar.bz2 |
[svn-r24074] I took out the soft conversion functions H5T__conv_i_f and H5T__conv_f_i for OpenVMS because
they have problem to convert between integers and floating numbers. I also commented out the test
case in dt_arith.c for OpenVMS.
Tested on jam - simple change.
Diffstat (limited to 'test/dt_arith.c')
-rw-r--r-- | test/dt_arith.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test/dt_arith.c b/test/dt_arith.c index 3f115cc..e4512df 100644 --- a/test/dt_arith.c +++ b/test/dt_arith.c @@ -632,6 +632,11 @@ test_hard_query(void) goto error; } + +#ifndef H5_VMS + /* Disable this test because the soft conversion functions (H5T__conv_i_f and H5T__conv_f_i) on + OpenVMS and are disabled - SLU 2013/8/26 */ + /* Unregister the hard conversion from int to float. Verify the conversion * is a soft conversion. */ H5Tunregister(H5T_PERS_HARD, NULL, H5T_NATIVE_INT, H5T_NATIVE_FLOAT, H5T__conv_int_float); @@ -640,6 +645,7 @@ test_hard_query(void) printf("Can't query conversion function\n"); goto error; } +#endif /* Register the hard conversion from int to float. Verify the conversion * is a hard conversion. */ @@ -5433,9 +5439,14 @@ main(void) /* Test H5Tcompiler_conv() for querying hard conversion. */ nerrors += test_hard_query(); +#ifndef H5_VMS + /* Disable this test because the soft conversion functions (H5T__conv_i_f and H5T__conv_f_i) on + OpenVMS and are disabled - SLU 2013/8/26 */ + /* Test user-define, query functions and software conversion * for user-defined floating-point types */ nerrors += test_derived_flt(); +#endif /* Test user-define, query functions and software conversion * for user-defined integer types */ @@ -5478,11 +5489,16 @@ main(void) nerrors += test_conv_int_2(); nerrors += run_integer_tests("soft"); +#ifndef H5_VMS + /* Disable these tests because the soft conversion functions (H5T__conv_i_f and H5T__conv_f_i) on + OpenVMS and are disabled - SLU 2013/8/26 */ + /* Test software float-integer conversion functions */ nerrors += run_fp_int_conv("soft"); /* Test software integer-float conversion functions */ nerrors += run_int_fp_conv("soft"); +#endif reset_hdf5(); |