On Wed, 22 Apr 2015 12:01:42 +0000, Elena Pourmal said:

>dt_arith test fails with the shared libraries

That test fails in general.  As I reported years ago, it performs several 
undefined behaviours, so you should expect failure.  I just ran it again with 
UBSan and:

13: Test command: 
/Users/builder/external/hdf5_1_8_cmake-clang-dbg-x86_64-static/bin/dt_arith
13: Test timeout computed to be: 1200
13: Testing non-aligned conversions (ALIGNMENT=1)....
13: Testing query functions of compiler conversion                         
PASSED
13: Testing user-define and query functions of floating-point types        
PASSED
13: Testing user-define and query functions of integer types               
PASSED
13: 
(/Users/builder/external/hdf5_1_8_cmake-clang-dbg-x86_64-static/bin/dt_arith+0x1000065fe):
 runtime error: value -8.28403e+90 is outside the range of representable values 
of type 'float'
13: Testing noop float -> float conversions                                
PASSED
13: Testing noop double -> double conversions                              
PASSED
13: Testing noop long double -> long double conversions                    
PASSED
13: Testing hard normalized float -> double conversions                    
PASSED
13: 
(/Users/builder/external/hdf5_1_8_cmake-clang-dbg-x86_64-static/bin/dt_arith+0x100020f05):
 runtime error: value 2.22507e+40 is outside the range of representable values 
of type 'float'
13: Testing hard normalized double -> float conversions                   
Testing hard normalized float -> long double conversions               PASSED
13: Testing hard normalized double -> long double conversions              
PASSED
13: 
(/Users/builder/external/hdf5_1_8_cmake-clang-dbg-x86_64-static/bin/dt_arith+0x1000212a9):
 runtime error: value 3.3621e+44 is outside the range of representable values 
of type 'float'
13: 
(/Users/builder/external/hdf5_1_8_cmake-clang-dbg-x86_64-static/bin/dt_arith+0x100021616):
 runtime error: value 3.3621e+308 is outside the range of representable values 
of type 'double'
13: Testing hard normalized long double -> float conversions              
Testing hard normalized long double -> double conversions             Testing 
hard denormalized float -> double conversions                  PASSED
13: Testing hard denormalized double -> float conversions                  
PASSED
13: Testing hard denormalized float -> long double conversions             
PASSED
13: Testing hard denormalized double -> long double conversions            
PASSED
13: Testing hard denormalized long double -> float conversions             
PASSED
13: Testing hard denormalized long double -> double conversions            
PASSED
13: Testing hard special float -> double conversions                       
PASSED
13: Testing hard special double -> float conversions                       
PASSED
13: Testing hard special float -> long double conversions                  
PASSED
13: Testing hard special double -> long double conversions                 
PASSED
13: Testing hard special long double -> float conversions                  
PASSED
13: Testing hard special long double -> double conversions                 
PASSED
13: /Users/builder/external/hdf5_1_8_cmake/test/dt_arith.c:1786:9: runtime 
error: left shift of negative value -1
13: Testing hard signed char -> unsigned char conversions                 
1/1 Test #13: H5TEST-dt_arith ..................***Failed    1.11 sec

Cheers,

-- 
____________________________________________________________
Sean McBride, B. Eng                 s...@rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada



_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@lists.hdfgroup.org
http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
Twitter: https://twitter.com/hdf5

Reply via email to