2003-09-25 03:26:50 +08:00
|
|
|
This program tests the Error API. There're supposed to be some error messages
|
|
|
|
********* Print error stack in HDF5 default way *********
|
2009-04-23 02:39:10 +08:00
|
|
|
Second Test-DIAG: Error detected in Second Program (1.0) thread (IDs):
|
|
|
|
#000: (file name) line (number) in main(): Error stack test failed
|
|
|
|
major: Error in test
|
|
|
|
minor: Error in error stack
|
2003-09-30 04:35:07 +08:00
|
|
|
Error Test-DIAG: Error detected in Error Program (1.0) thread (IDs):
|
2009-04-23 02:39:10 +08:00
|
|
|
#001: (file name) line (number) in error_stack(): Get number test failed, returned 0
|
2003-09-25 03:26:50 +08:00
|
|
|
major: Error in API
|
|
|
|
minor: Error in H5Eget_num
|
|
|
|
|
|
|
|
********* Print error stack in customized way *********
|
2003-09-30 04:35:07 +08:00
|
|
|
error #000: (file name) in error_stack(): line (number)
|
2003-09-25 03:26:50 +08:00
|
|
|
class: Error Test
|
|
|
|
major: Error in API
|
|
|
|
minor: Error in H5Eget_num
|
2009-04-23 02:39:10 +08:00
|
|
|
error #001: (file name) in main(): line (number)
|
|
|
|
class: Second Test
|
|
|
|
major: Error in test
|
|
|
|
minor: Error in error stack
|
2011-06-03 23:58:49 +08:00
|
|
|
|
|
|
|
Testing error API based on data I/O
|
2003-09-30 04:35:07 +08:00
|
|
|
HDF5-DIAG: Error detected in HDF5 (version (number)) thread (IDs):
|
|
|
|
#000: (file name) line (number) in H5Dwrite(): not a dataset
|
2003-09-25 03:26:50 +08:00
|
|
|
major: Invalid arguments to routine
|
|
|
|
minor: Inappropriate type
|
2003-09-30 04:35:07 +08:00
|
|
|
Error Test-DIAG: Error detected in Error Program (1.0) thread (IDs):
|
|
|
|
#000: (file name) line (number) in main(): Error test failed, it's wrong
|
2003-09-25 03:26:50 +08:00
|
|
|
major: Error in test
|
|
|
|
minor: Error in subroutine
|
2003-09-30 04:35:07 +08:00
|
|
|
#001: (file name) line (number) in test_error(): H5Dwrite failed as supposed to
|
2003-09-25 03:26:50 +08:00
|
|
|
major: Error in IO
|
|
|
|
minor: Error in H5Dwrite
|
2003-09-30 04:35:07 +08:00
|
|
|
HDF5-DIAG: Error detected in HDF5 (version (number)) thread (IDs):
|
|
|
|
#002: (file name) line (number) in H5Dwrite(): not a dataset
|
2003-09-25 03:26:50 +08:00
|
|
|
major: Invalid arguments to routine
|
|
|
|
minor: Inappropriate type
|
2011-06-03 23:58:49 +08:00
|
|
|
|
|
|
|
Testing error message during data reading when filter isn't registered
|
|
|
|
HDF5-DIAG: Error detected in HDF5 (version (number)) thread (IDs):
|
|
|
|
#000: (file name) line (number) in H5Dread(): can't read data
|
|
|
|
major: Dataset
|
|
|
|
minor: Read failed
|
2012-04-17 05:20:26 +08:00
|
|
|
#001: (file name) line (number) in H5D__read(): can't read data
|
2011-06-03 23:58:49 +08:00
|
|
|
major: Dataset
|
|
|
|
minor: Read failed
|
2012-04-17 05:20:26 +08:00
|
|
|
#002: (file name) line (number) in H5D__chunk_read(): unable to read raw data chunk
|
2011-06-03 23:58:49 +08:00
|
|
|
major: Low-level I/O
|
|
|
|
minor: Read failed
|
2012-04-17 05:20:26 +08:00
|
|
|
#003: (file name) line (number) in H5D__chunk_lock(): data pipeline read failed
|
2011-06-03 23:58:49 +08:00
|
|
|
major: Data filters
|
|
|
|
minor: Filter operation failed
|
|
|
|
#004: (file name) line (number) in H5Z_pipeline(): required filter 'bogus' is not registered
|
|
|
|
major: Data filters
|
|
|
|
minor: Read failed
|
2013-09-20 00:38:08 +08:00
|
|
|
#005: (file name) line (number) in H5PL_load(): required dynamically loaded plugin filter '305' is not available
|
|
|
|
major: Plugin for dynamically loaded library
|
|
|
|
minor: Unable to load metadata into cache
|
2011-06-07 01:05:37 +08:00
|
|
|
|
|
|
|
All error API tests passed.
|