diff options
author | Raymond Lu <songyulu@hdfgroup.org> | 2009-05-05 18:57:43 (GMT) |
---|---|---|
committer | Raymond Lu <songyulu@hdfgroup.org> | 2009-05-05 18:57:43 (GMT) |
commit | a1b11b8d4758f5604ac2bdf144db9cab5a6092d7 (patch) | |
tree | 2351b9681682f90f26787aab832af78f86675d8c /test/testfiles | |
parent | 548eec307006ebd01294fad2886421f07c3c92c8 (diff) | |
download | hdf5-a1b11b8d4758f5604ac2bdf144db9cab5a6092d7.zip hdf5-a1b11b8d4758f5604ac2bdf144db9cab5a6092d7.tar.gz hdf5-a1b11b8d4758f5604ac2bdf144db9cab5a6092d7.tar.bz2 |
[svn-r16922] Allow an error class to use other class's major or minor errors. Added a test for it, too.
Tested on jam - simple change. I've tested it for the trunk.
Diffstat (limited to 'test/testfiles')
-rw-r--r-- | test/testfiles/error_test_1 | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/test/testfiles/error_test_1 b/test/testfiles/error_test_1 index 20f669d..308ca07 100644 --- a/test/testfiles/error_test_1 +++ b/test/testfiles/error_test_1 @@ -1,11 +1,16 @@ ############################# Expected output for error_test ############################# -Testing error API based on data I/O All error API tests passed. +Testing error API based on data I/O +All error API tests passed. This program tests the Error API. There're supposed to be some error messages ********* Print error stack in HDF5 default way ********* +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 Error Test-DIAG: Error detected in Error Program (1.0) thread (IDs): - #000: (file name) line (number) in error_stack(): Get number test failed, returned 0 + #001: (file name) line (number) in error_stack(): Get number test failed, returned 0 major: Error in API minor: Error in H5Eget_num @@ -14,6 +19,10 @@ Error Test-DIAG: Error detected in Error Program (1.0) thread (IDs): class: Error Test major: Error in API minor: Error in H5Eget_num + error #001: (file name) in main(): line (number) + class: Second Test + major: Error in test + minor: Error in error stack HDF5-DIAG: Error detected in HDF5 (version (number)) thread (IDs): #000: (file name) line (number) in H5Dwrite(): not a dataset major: Invalid arguments to routine |