mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-02-11 16:01:00 +08:00
flag IS_DEDAULT in the H5E_auto_t structure. Both H5Eprint1/2 are the default now. If the user sets his/her own printing function. Then a call to H5Eget_auto1/2 will have to match H5Eset_auto1/2. Tested on jam, heiwa, and amani.
63 lines
2.6 KiB
Plaintext
63 lines
2.6 KiB
Plaintext
#############################
|
|
Expected output for err_compat
|
|
#############################
|
|
Testing error API H5Eset/get_auto Testing error API based on data I/O All error API tests passed.
|
|
This program tests the Error API compatible with HDF5 version (number). There're supposed to be some error messages
|
|
********* Print error stack in HDF5 default way *********
|
|
HDF5-DIAG: Error detected in HDF5 (version (number)) thread (IDs):
|
|
#000: (file name) line (number) in main(): Error test failed
|
|
major: Error API
|
|
minor: Bad value
|
|
|
|
********* Print error stack in customized way *********
|
|
error #000: (file name) in main(): line (number)
|
|
major: Error API
|
|
minor: Bad value
|
|
|
|
HDF5-DIAG: Error detected in HDF5 (version (number)) thread (IDs):
|
|
#000: (file name) line (number) in H5Dcreate2(): not a location ID
|
|
major: Invalid arguments to routine
|
|
minor: Inappropriate type
|
|
#001: (file name) line (number) in H5G_loc(): invalid object ID
|
|
major: Invalid arguments to routine
|
|
minor: Bad value
|
|
|
|
********* Print error stack in customized way *********
|
|
error #000: (file name) in H5G_loc(): line (number)
|
|
major: Invalid arguments to routine
|
|
minor: Bad value
|
|
error #001: (file name) in H5Dcreate2(): line (number)
|
|
major: Invalid arguments to routine
|
|
minor: Inappropriate type
|
|
|
|
********* Print error stack in customized way *********
|
|
error #000: (file name) in H5Eget_auto(1 or 2)(): line (number)
|
|
major: Error API
|
|
minor: Can't get value
|
|
|
|
********* Print error stack in customized way *********
|
|
error #000: (file name) in H5G_loc(): line (number)
|
|
major: Invalid arguments to routine
|
|
minor: Bad value
|
|
error #001: (file name) in H5Dcreate2(): line (number)
|
|
major: Invalid arguments to routine
|
|
minor: Inappropriate type
|
|
HDF5-DIAG: Error detected in HDF5 (version (number)) thread (IDs):
|
|
#000: (file name) line (number) in H5Dcreate2(): not a location ID
|
|
major: Invalid arguments to routine
|
|
minor: Inappropriate type
|
|
#001: (file name) line (number) in H5G_loc(): invalid object ID
|
|
major: Invalid arguments to routine
|
|
minor: Bad value
|
|
|
|
HDF5-DIAG: Error detected in HDF5 (version (number)) thread (IDs):
|
|
#000: (file name) line (number) in main(): Error test failed
|
|
major: Error API
|
|
minor: Unrecognized message
|
|
#001: (file name) line (number) in test_error2(): H5Dwrite shouldn't succeed
|
|
major: Error API
|
|
minor: Write failed
|
|
#002: (file name) line (number) in H5Dwrite(): not a dataset
|
|
major: Invalid arguments to routine
|
|
minor: Inappropriate type
|