diff options
author | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2007-07-08 20:28:59 (GMT) |
---|---|---|
committer | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2007-07-08 20:28:59 (GMT) |
commit | f6ebd743d80ed41edd55065ed6aba6ae8d349ed7 (patch) | |
tree | 55eea469d3684e19ade507670bc32a9805c2afd8 /tools/misc/h5repart_gentest.c | |
parent | 9db2bf983544a9b3113cae4caf2b0459fa1cddde (diff) | |
download | hdf5-f6ebd743d80ed41edd55065ed6aba6ae8d349ed7.zip hdf5-f6ebd743d80ed41edd55065ed6aba6ae8d349ed7.tar.gz hdf5-f6ebd743d80ed41edd55065ed6aba6ae8d349ed7.tar.bz2 |
[svn-r13954] Purpose: Fix test
Description:
Compilers don't destroy temporary objects at the same time, some do
immediately after use, some delay until the end of the scope. The
delay makes it difficult to test the reference count functionality.
Solution:
Enclosed the operations on objects and check reference count after
getting out of the enclosed block. This only works for the test!
I'm assuming that checking reference count is just for the library
to test that functionality; the user will not need to do that. :-/
Platforms tested:
SunOS 5.10 (linew)
Linux 2.6 (kagiso)
Diffstat (limited to 'tools/misc/h5repart_gentest.c')
0 files changed, 0 insertions, 0 deletions