| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Description:
Enclosed some code that test reference counts in brackets so that
temporary objects will go out of scope before checking references.
This is to work around the issue where some C++ compilers destroy
temporary objects at different time than others.
Platforms tested:
SunOS 5.10 (linew)
Linux 2.6 (kagiso)
FreeBSD (duty)
|
|
|
|
|
|
|
|
|
|
| |
Description:
Cleaned up test formats, comments, messages, etc... for consistency.
Platforms tested:
Linux 2.6 (kagiso)
SunOS 5.10 (linew)
FreeBSD (duty)
|
|
|
|
| |
removing the stream-vfd.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
|
| |
Description:
Removed unused names, mostly.
Platforms tested:
SunOS 5.8 64-bit (sol)
Linux 2.6 (kagiso) w/PGI
|
|
|
|
|
|
|
|
|
|
| |
The copyright notices have errors in the closing comment lines that
C++ compilers complain about. Fixed the comment line.
Tested platform:
In smirom using disable-production, enable-debug, disable-shared option.
(other combinations would ended in build or test failures. Pretty sure
they were not caused by my changes.)
|
|
|
|
| |
Tested platform: Kagiso (serial, pp)
|
|
|
|
|
|
|
|
|
|
|
| |
Description:
Cleaned up comments/unused variables in several test functions.
Fixed some mismatched type parameters shown up on Windows.
Platforms tested
Windows XP
AIX 5.1 (copper)
Linux 2.6 (kagiso)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Description:
Added
* tests for some generic datatype operations
* tests for compound datatype operations
These tests are checked in now to make sure they're safe! They can
use some more comments and minor cleanups. Will do very soon.
Platforms tested
AIX 5.1 (copper)
SunOS 5.8 64-bit (sol)
Linux 2.6 (kagiso)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Description:
- Added a brief test for DSetCreatPropList::setSzip. More through tests
will be added later.
- Moved check_values from dsets.cpp into h5cpputil.cpp for sharing
with other tests.
Platforms tested
AIX 5.1 (copper)
SunOS 5.8 64-bit (sol)
Linux 2.6 (kagiso)
|
|
|
|
|
|
|
|
|
|
|
|
| |
Description:
Added variable-length string tests.
Fixed typos in tattr.cpp.
Platforms tested
AIX 5.1 (copper)
SunOS 5.8 64-bit (sol)
HPUX 11.00 (kelgia)
Linux 2.6 (kagiso)
|
|
|
|
|
|
|
|
|
| |
Description:
Changed from hsize_t to int for rank constants to fix errors on Windows.
Platform tested:
Linux 2.6 (kagiso)
Visual 6.0 on Windows XP
|
|
|
|
|
|
|
|
|
|
| |
Description:
Added tattr.cpp to c++/test.
Platform tested:
Linux 2.6 (kagiso)
SunOS 5.8 64-bit (sol)
AIX 5.1 (copper)
|
|
|
|
|
|
|
|
|
| |
Description:
Added (long) to a verify_val call.
Platforms tested:
Linux 2.6 (kagiso) - very minor, and Kent will test it on Windows, because
that was where it was complained about.
|
|
|
|
|
|
|
|
|
| |
Description:
Added trefer.cpp to c++/test.
Platform tested:
AIX 5.1 (copper)
HPUX 11.00 (kelgia)
|
|
|
|
|
|
|
|
|
|
|
| |
Description:
Wrappers of H5Rcreate had incorrect prototypes. Fixed and added
object reference tests.
Platform tested:
Linux 2.4 (heping)
AIX 5.1 (copper)
HPUX 11.00 (kelgia)
|
|
|
|
|
|
|
|
|
|
| |
Description:
Added alias H5std_string to be either ::string or std::string.
Platforms tested:
Linux 2.4 (heping)
SunOS 5.8 64-bit (sol)
HPUX 11.00 (kelgia)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Description:
Improved the use of std members.
Platforms tested:
Linux 2.4 (heping)
SunOS 5.8 64-bit (sol)
AIX 5.1 (copper)
HPUX 11.00 (kelgia)
Misc. update:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Appearance change.
Description:
depend1.in:
Change the style of the copyright generation commands to a simplier
style.
Dependencies:
Regenerated the Dependencies file.
Platforms tested:
Tested in heping in serial and parallel modes.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Copyright fix
Description:
Added copyright to C++ and Fortran dependency files in 1.6.
Solution:
copies hdf5/config/depend1.in to hdf5/c++/config and hdf5/fortran/config.
Platforms tested:
heping
Misc. update:
|
|
|
|
|
|
|
|
|
|
|
| |
Code cleanup
Description:
Tweak copyright on C++ source files to reduce whining by copyright checking
script.
Platforms tested:
FreeBSD 4.11 (sleipnir) w/C++
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Code cleanup
Description:
Trim trailing whitespace, which is making 'diff'ing the two branches
difficult.
Solution:
Ran this script in each directory:
foreach f (*.[ch] *.cpp)
sed 's/[[:blank:]]*$//' $f > sed.out && mv sed.out $f
end
Platforms tested:
FreeBSD 4.11 (sleipnir)
Too minor to require h5committest
|
|
|
|
|
|
|
|
|
|
| |
Description:
Added an overloaded function for the template function verify_val.
Updated various comments/headers.
Platforms tested:
Linux 2.4 (heping)
HPUX 11.00 (kelgia)
|
|
|
|
|
|
|
|
|
| |
Description:
Fixed typo in using namespace; it was mistakenly opening the namespace.
Platforms tested:
Linux 2.4 (heping)
SunOS 5.8 64-bit (sol)
|
|
|
|
|
|
|
|
|
|
|
|
| |
Description:
+ replaced "goto error" with throw exceptions
+ properly cleanup dynamically allocated memory in failure cases,
for in some cases, the execution continues on after the failures
were reported.
Platforms tested:
Linux 2.4 (heping)
SunOS 5.8 64-bit (sol)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Description:
+ C tests' macro VERIFY casts values to 'long' for all cases. Since
there are no operator<< for 'long long' or int64 in VS C++ ostream,
I casted the hsize_t/hssize_t values passed to verify_val to 'long'
as well. If problems arise later, this may have to be specificly
handled with an overload - tfile.cpp and th5s.cpp
+ Added the use of InvalidActionException for when an action
should cause an exception but didn't
+ Properly cleanup dynamically allocated memory in failure cases,
for in some cases, the execution continues on after the failures
were reported.
+ Small changes to improve failure reports
Platforms tested:
SunOS 5.7 (arabica)
Linux 2.4 (eirene)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Description: Confiure generated libhdf5.settings files in fortran/src
and c++/src directories. File in the fortran/src directory
was not installed; file in the c++/src directory was intalled
As a result, libhdf5.settings from the src directory with the
C settings and configuration summary was blown away.
Also some temporary files were not cleaned in c++ directories.
Solution: Modifed configure.in files to create
fortran/src/libhdf5_fortran.settings and
c++/src/libhdf5_cpp.settings files
Ran autoconf on eirene to generate new configure files.
Modified Makefile.in files to install *setting files.
Note: I don't like the solution since *setting files are messy
and libhdf5_cpp.settings lacks some information (there is no
corresponding *.in file in the c++/src directory). Since we
are moving to 1.8 anyway, I don't want to spend too much time
on it, but we definitely should look carefully at those files
and check that they are ok in 1.8.
Platforms tested: eirene, cobalt, arabica
Misc. update:
|
|
|
|
|
|
|
|
|
| |
Description:
Corrected a misuse of a variable causing access violation.
Platforms tested:
SunOS 5.7 (arabica)
Linux 2.4 (eirene)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Bug Fix/Code Cleanup/Doc Cleanup/Optimization/Branch Sync :-)
Description:
Generally speaking, this is the "signed->unsigned" change to selections.
However, in the process of merging code back, things got stickier and stickier
until I ended up doing a big "sync the two branches up" operation. So... I
brought back all the "infrastructure" fixes from the development branch to the
release branch (which I think were actually making some improvement in
performance) as well as fixed several bugs which had been fixed in one branch,
but not the other.
I've also tagged the repository before making this checkin with the label
"before_signed_unsigned_changes".
Platforms tested:
FreeBSD 4.10 (sleipnir) w/parallel & fphdf5
FreeBSD 4.10 (sleipnir) w/threadsafe
FreeBSD 4.10 (sleipnir) w/backward compatibility
Solaris 2.7 (arabica) w/"purify options"
Solaris 2.8 (sol) w/FORTRAN & C++
AIX 5.x (copper) w/parallel & FORTRAN
IRIX64 6.5 (modi4) w/FORTRAN
Linux 2.4 (heping) w/FORTRAN & C++
Misc. update:
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Description:
Replaced macro VERIFY with template function verify_val to
verify read data/info.
Cleanup various places in the tests to make them more consistent.
Platforms tested:
SunOS 5.7 (arabica)
Linux 2.4 (eirene)
Misc. update:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
feature
Description:
Another revamp of the test interface.
TestInit: is used to register Test Program name, test program specific
Usage and option parsing routines.
TestUsage: will invoke extra usage routine if provided.
TestParseCmdLine: will invoke extra option parsing routine if provided.
GetTestSummary() and GetTestCleanup() replaces the previous Summary and
CleanUp arguments of TestParseCmdLine.
test/testhdf5, test/ttsafe.c, testpar/t_mpi.c, testpar/testphdf5.c:
All have been updated to use the new Test Routines.
testpar/t_mpi.c:
Also a fix of a compiler optimization bug when pgcc in Linux is
used to compile it. Changed buf[] and expected to unsigned char
type to avoid a bug that failed to do sign-extension.
Platforms tested:
"h5committested"
Also tested thread-safe option in eirene.
|
|
|
|
|
|
|
|
|
| |
Description:
Added an argument to the call to TestParseCmdLine because its
prototype has just been changed.
Platforms tested:
Linux 2.4 (eirene)
|
|
|
|
|
|
|
|
|
|
| |
Description:
Corrected the way to initialize several const char*, because I accidentally
used std::string's initialization for them.
Platforms tested:
SunOS 5.7 (arabica)
Linux 2.4 (eirene)
|
|
|
|
|
|
|
|
|
|
|
|
| |
Description:
Replaced cout's with cerr's.
Cleanup various places in the tests to make them more consistent.
Platforms tested:
SunOS 5.7 (arabica)
Linux 2.4 (eirene)
Misc. update:
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Description:
Some platforms don't support std, and I missed handling that
situation in my last change for these files.
Solution:
Added 'using' statement where appropriate.
Platforms tested:
HPUX 11.00 (kelgia)
Linux 2.4 (eirene)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Description:
Added test_file_name for new wrappers
H5File::getFileName
H5Object::getFileName
Also, replaced macro VERIFY with template function verify_val to
verify read data/info and did some minor cleanup.
Platforms tested:
SunOS 5.7 (arabica)
Linux 2.4 (eirene)
Windows XP
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Description:
Changed call to H5File::getFileSize according to C library and
removed CHECK for this call because failure will be handled by
exception.
Platforms tested:
SunOS 5.7 (arabica)
Linux 2.4 (eirene)
C tests are having problems, but I did run the C++ tests.
Misc. update:
|
|
|
|
|
|
|
|
| |
Description: In H5Fget_filesize, file size was returned as haddr_t.
Solution: Return file size as hsize_t and parameter for Fortran.
Platforms tested: eirene
|
|
|
|
|
|
|
|
|
|
|
| |
Code cleanup
Description:
Clean up almost all warnings from Windows builds.
Platforms tested:
FreeBSD 4.10 (sleipnir) w/parallel
Too minor to require h5committest
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Feature
Description:
Added to AddTest() a generic parameters pointer argument to
allow some extra parameters for some tests. E.g., test file
names can be customized during runtime and passed into the
test routines.
Platforms tested:
"h5committested".
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Code cleanup & reorganization
Description:
Move further in the testing framework cleanup, eliminating all the
global variables (moving them into testframe.c as static variables) from the
testing framework code and moving it into the libh5test.a.
Platforms tested:
FreeBSD 4.9 (sleipnir) w & w/o thread-safety, c++ & parallel
h5committested
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Code cleanup
Description:
Refactor library testing framework (used for the testhdf5 & ttsafe tests)
to remove almost all of the duplicated code, moving the common code into a
new 'testframe.c' source file.
Platforms tested:
FreeBSD 4.9 (sleipnir) w & w/o thread-safety
h5committest
|
|
|
|
|
|
|
|
|
|
|
|
| |
Bug fix
Description:
Corrected an omission of a module needed by the testhdf5 program.
Platforms tested:
Only in modi4 as the change is small.
Misc. update:
|
|
|
|
|
|
|
|
|
|
|
|
| |
Text cleanup
Description:
Re-worded some informative and error messages.
Remove/Updated outdated comments.
Platforms:
Linux 2.4 (eirene)
IRIX 6.5.11 (modi4)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Purpose:
Code cleanup
Description:
Moved a utility function out so other tests can use the same
function and avoid code duplication. Future utility functions
can also benefit from this move.
Platforms tested:
SunOS 5.7 (arabica)
Linux 2.4 (eirene)
IRIX 6.5.11 (modi4)
HPUX 11.00 (kelgia)
|
|
|
|
|
|
|
|
| |
Description: 1.4 compatibility for H5G_obj_t type and H5Zregister test.
Solution: use macro H5_WANT_H5_V1_4_COMPAT
Platforms tested: h5committest
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Code cleanup
Description:
Chase H5Zfilter API changes.
Solution:
Platforms tested:
FreeBSD 4.8 (sleipnir) w/C++
Misc. update:
|
|
|
|
|
|
|
|
|
|
|
| |
Bug Fix
Description:
Kelgia needs the old header file format for #includes.
Solution:
Conditionally include the old header file format if
OLD_HEADER_FILENAME is defined.
Platforms tested:
Kelgia
|
|
|
|
|
|
|
|
|
| |
Description:
Added copyright notice to C++ API files, including *.h, *.cpp, and
Makefile.in
Platforms:
Linux 6.2 (eirene)
|