Commit Graph

11130 Commits

Author SHA1 Message Date
Elena Pourmal
eb8838be0b [svn-r17637] Maintenance: Brought changes back from the trunk.
Platforms tested: pahra with ifort, g95 and gfortran.
2009-10-12 23:58:27 -05:00
Albert Cheng
5237ffce52 [svn-r17633] Bug 1192:
Added EXIT_SUCEESS and EXIT_FAILURE macro values test.

Tested:
h5committested.
2009-10-12 22:18:55 -05:00
Allen Byrne
d3aa5c967e [svn-r17632] Removed vnet assignments and allow default /vs8 and /ivf91 on command line.
Tested: windows
2009-10-12 15:27:04 -05:00
Peter Cao
ceddabad65 [svn-r17620] Add comments about h5diff changes 2009-10-08 14:47:25 -05:00
Albert Cheng
6f6a2c726d [svn-r17614] Updated with H5Pget_preserve fix information. 2009-10-08 09:10:15 -05:00
Albert Cheng
be6691b33d [svn-r17610] Bug fix (ID 1628):
There was a typo in the H5Pget_preserve that it was returning the wrong value.
Fixed. Also added a test in test/cmpd_dset.c to verify the correctness of
H5Pset_preserve and H5Pget_preserve.

Tested:
h5committest plus jam serial.
2009-10-07 19:17:11 -05:00
Albert Cheng
de76999134 [svn-r17607] ode Cleanup:
TFLOPS machine has retired long ago. Removed all code specific for its
support.

Test:
h5committested.
2009-10-07 00:31:49 -05:00
Quincey Koziol
190e10b63d [svn-r17605] Description:
Bring r17604 from trunk to 1.8 branch:

	Correctly invoke generic property list class callbacks all the way to
the root of the class hierarchy.

Tested on:
       FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode
	(h5committested on trunk)
2009-10-06 22:18:59 -05:00
Albert Cheng
98658b074e [svn-r17602] Bug fix:
The ph5diff tests printout incorrectly reporting they are running
h5diff when it actually is running ph5diff.
Fixed.

Tested: Jam (parallel), linew (serial)
No H5committest since it is a shell script and Jam tests both
serial and parallel h5diff for Linux while Linew tests Big
endian platform.
2009-10-06 17:05:15 -05:00
Quincey Koziol
ba0858ab7a [svn-r17600] Description:
Bring r17599 from trunk to 1.8 branch:

	Minor code cleanups, based on cleanups in the compress_group_fheap
branch.

Tested on:
       FreeBSD/32 6.3 (duty) in debug mode
	(h5committested on trunk)
2009-10-06 14:20:59 -05:00
Albert Cheng
b733be9eec [svn-r17593] Bug fix:
Release would leave behind an Makefile even if it did not exist before.

Fixed by restoring only the pre-existed Makefile.

Tested: Jam.
2009-10-05 19:08:34 -05:00
Binh-Minh Ribler
a7cf6ea11a [svn-r17588] Purpose:
Fixed bugzilla #1061
Description:
    Added a check for NULL before accessing a pointer
    Also, removed a few warnings about returning values
Platforms tested:
    Linux/32 2.6 (jam)
    FreeBSD/64 6.3 (liberty)
    SunOS 5.10 (linew)
2009-10-04 00:27:26 -05:00
Neil Fortner
c26ed138a6 [svn-r17586] Purpose: Fix bug 1597
Description:
When copying a dataset  using a vlen inside a compound, the various dataset
copying callbacks would allocate a background buffer but would not use it when
converting from disk to memory, only memory to disk.  This caused an assertion
failure as compounds always need a background buffer.  These callbacks have
been modified to use the background buffer for both conversions.

Tested: jam, linew, smirom (h5committest)
2009-10-02 15:54:51 -05:00
Albert Cheng
e8e9b163c3 [svn-r17579] added testlibinfo.sh testcheck_version.sh to be distcleaned.
Test: Jam.
2009-10-01 16:51:57 -05:00
Albert Cheng
7a607d519a [svn-r17577] Simple improvement to clean up go during "make check-clean"
and removed the redundant cleaning of Makefile.

Tested: jam parallel.
2009-10-01 16:45:56 -05:00
Quincey Koziol
47c9464d5d [svn-r17574] Description:
Bring r17573 from trunk to 1.8 branch:

	Fix several errors in code, which was not compiling... :-(

Tested on:
       FreeBSD/32 6.3 (duty) in debug mode
	(h5committested on trunk)
2009-10-01 15:09:08 -05:00
Mike McGreevy
dbb2eadcaa [svn-r17572] Purpose:
Makefile Bug Fix

Description:

    Added $(EXEEXT) extension to H5detect when it's executed to generate
    H5Tinit.c so it works correctly on platforms that require the full
    extension when running executables.

Tested:

    h5committest, mingw, and user-verified (via submitted patch).
2009-10-01 14:52:37 -05:00
Mike McGreevy
11f088a44c [svn-r17568] Purpose:
Configure Fix

Description:

    Modified configure to set FC and CXX to "no" when fortran and c++ are
    not being compiled, respectively. This will prevent configure from running
    some checks on these compilers when they are not being used.

    This fixes a problem that was occuring when FC and/or CXX are set to
    a nonexistant or invalid compiler. Even if the languages were disabled,
    a libtool test would fail, thus preventing libtool from properly linking
    any libraries, yet configure would not flag an error message due to this
    because the languages were disabled.

Tested:

    - h5committest (jam, smirom, linew)
    - manually eyeballed configure output and logfile.
2009-10-01 12:06:48 -05:00
Allen Byrne
fbf7f470e2 [svn-r17565] Fix for Bug 1562. H5DS.c checked for other locations which need to account for platform dependent types in dealing with ds_list_t. Added generator program for test files of LE and BE dimension scales.
Tested: local linux, h5committest
2009-10-01 08:55:43 -05:00
Albert Cheng
d495a52fdd [svn-r17564] Fixed a syntax error that generates a file named 0.
Tested:
Jam as it is simple shell script change.
2009-09-30 22:46:05 -05:00
Allen Byrne
d98c4cb0e5 [svn-r17561] Fixed srcdir problem. Other fixes after complete testing.
Tested: h5committest - just smirom
2009-09-30 16:28:13 -05:00
Quincey Koziol
8746367121 [svn-r17556] Description:
Correct compile warnings and rename fiels to match the rest of the
test files in this directory.

	Note: this is currently failing for srcdir builds!

Tested on:
	FreeBSD/32 6.3 (duty)
2009-09-29 17:02:25 -05:00
Quincey Koziol
e3101ecc46 [svn-r17555] Description:
Bring r17553 from trunk to 1.8 branch:

	Bring general fixes/improvements from file_free_space branch back to
trunk.

Tested on:
       FreeBSD/32 6.3 (duty) in debug mode
       FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode
       Linux/32 2.6 (jam) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe,
                               in debug mode
       Linux/64-amd64 2.6 (smirom) w/Intel compilers w/default API=1.6.x,
                               w/C++ & FORTRAN, in production mode
       Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
                               w/szip filter, in production mode
       Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN,
                               in production mode
       Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in production mode
       Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode
       Mac OS X/32 10.5.8 (amazon) in debug mode
       Mac OS X/32 10.5.8 (amazon) w/C++ & FORTRAN, w/threadsafe,
                               in production mode
2009-09-29 16:53:19 -05:00
Allen Byrne
89404acc45 [svn-r17554] Fix for Bug 1562. H5DSis_attached needed to account for platform dependent types. Added test and test files for LE and BE dimension scales. Reworked part of test_ds file as part of debug.
Added missing H5Tclose in region reference routines.

Tested: local linux, smirom, linew
2009-09-29 15:18:22 -05:00
Albert Cheng
0ead3e8873 [svn-r17548] ------------------------------------------------------------------------
r17543 | acheng | 2009-09-28 23:43:22 -0500 (Mon, 28 Sep 2009) | 8 lines

New test: (Bug ID 1656):
Add new tests (tcheck_version, testcheck_version.sh) to verify H5check_version()
does issue warnings and abort accordingly.
Changed H5check_version() to suppress the warning message totally if
$HDF5_DISABLE_VERSION_CHECK is 2 or higher. (Old behavior treated 3 or higher
the same as 1, that is to print a warning and allows the program to continue.

Tests:
H5committed tested plus jam serial tested.
2009-09-29 11:45:07 -05:00
Larry Knox
0fa14048c2 [svn-r17540] Snapshot version 1.8 release 3 (snap12) 2009-09-27 17:06:09 -05:00
Neil Fortner
858c8af18f [svn-r17536] Purpose: Fix bug 1620
Description:
H5Ppublic.h listed H5Pget_filter_by_id1 and H5Pget_filter_by_id2 as returning
H5Z_filter_t, when in fact they return herr_t.  The header file has been
corrected to indicate that they return herr_t.

Tested: jam
2009-09-25 14:15:58 -05:00
Neil Fortner
ca0268116e [svn-r17533] Add note to RELEASE.txt for changes in r17531 2009-09-25 14:06:52 -05:00
Neil Fortner
a2faf5621f [svn-r17531] Purpose: Fix bug 1555
Description:
At several places in H5Pint.c properties were being compared using memcmp, not
using the registered "cmp" callback.  This could cause memory checkers to
report uninitialized memory errors, and could conceivably cause runtime errors
if memcmp reported false equality (for example if a value pointed to by the
property changed).

The code has been changed to always use the cmp callback.  Tests have been added that check this in all the places that previously used memcmp.

Tested: jam, linew, smirom (h5committest)
2009-09-25 13:11:40 -05:00
Quincey Koziol
51d3e9b173 [svn-r17527] Description:
Bring r17524 from trunk to 1.8 branch:

    Switch to using system call wrapper macros instead of "raw" system calls.

Tested on:
    Mac OS X/32 10.5.8 (amazon) w/debug & production
    (too minor to require h5committest)
2009-09-24 18:30:08 -05:00
Quincey Koziol
9726d77e95 [svn-r17526] Description:
Add backward compatibility test to make certain that the 1.8 library
handles encountering a file with a fixed array chunk index gracefully.

Tested on:
        FreeBSD/32 6.3 (duty) w/production
        (too minor to require h5committest)
2009-09-24 18:26:23 -05:00
Scot Breitenfeld
a52d213b55 [svn-r17519] Description:
Merged changes in the trunk/fortran to 1.8.

svn merge -r 17485:17517 https://svn.hdfgroup.uiuc.edu/hdf5/trunk/fortran

Brings bugfixes into 1.8 for:

Bug [1471] -  H5Tset_order_f missing constant option H5T_ORDER_NONE


Tested: smirom (ifort)
        smirom (pgi)
2009-09-24 15:43:03 -05:00
Raymond Lu
73f24a8ed0 [svn-r17517] In the function test_rw_noupdate, I added a test with the system functions to make
sure the stat function behaves as we expected.  This test is skipped on some system because 
the modification time from stat is the same as the last access time (We know OpenVMS behaves 
in this way).

Tested on jam.  I've tested the same change for the trunk on jam, smirom, and linew.  
My account for OpenVMS expired.  I'll test it once I have it back.
2009-09-24 14:24:48 -05:00
Larry Knox
e46380bfb6 [svn-r17509] Move misplaced ')' after make uninstall command so 'du -ks' command is run in test directory instead of running in snapshot directory. Snapshot directory has many more subdirectories and is often remote, increasing test running time and reporting incorrect disk usage.
Tested on smirom in hdfdts version.
2009-09-22 14:40:13 -05:00
Albert Cheng
40d2c29786 [svn-r17504] Bug fix:
Test failed with libhdf5.so not found in MacOS which uses a different
suffix (*.dylib) for shared lib.

Solution:
Added code to setup shared lib file suffix according to OS types.

Tested:
Tejeda, jam, linew.
2009-09-22 11:17:55 -05:00
Larry Knox
bb660b670b [svn-r17501] Snapshot version 1.8 release 3 (snap11) 2009-09-20 16:02:59 -05:00
Albert Cheng
ef2aa6be0b [svn-r17500] Bug fix and improvement.
Description:
Build failed when embedded-info is not enabled. Fixed.
testlibinfo.sh output was ugly, did not prepare the case of embedded-info
not enabled. Fixed.  Also changed NOT to test test binary even if static-exec
is enabled.

Tested:
jam (with and without embedded-info enabled).  Did not test in other
platforms since these were script changes that are platform independent.
2009-09-19 18:55:44 -05:00
Albert Cheng
3a83be48fb [svn-r17499] Purpose:
Stage 2 implementation of embedded library information feature.

H5.c: added code to print the embedded library information when there is
a library versions mis-match occurs. This ensures the library information
string is included in the executable.
Also modifies the code so that the Library mismatch warning string is
included only once in the executable.

H5private.h:
Added a global reference to the libinfo string variable to prepare
for possible stage 3 implementation of a public API.

test/testlibinfo.sh.in:
A new test added to verify the library information is indeed included
in the executables.

configure.in:
configure:
Added entry to auto-generate test/testlibinfo.sh.

H5detect.c:
Modified the libhdf5settings generating code to allow it to insert the
strings to a file other than stdout.  This maybe needed in stage 3
implementation.

MANIFEST:
updated with the newly added file of testlibinfo.sh.in.

Tested:
h5committest passed. Also passed jam in serial mode.
2009-09-18 13:34:37 -05:00
Allen Byrne
8664cb26c3 [svn-r17497] Corrected location of talign.c in project files.
Tested: Windows
2009-09-18 09:24:56 -05:00
Allen Byrne
2b1e09bc97 [svn-r17495] Updated to include new h5dump region reference tests. Also added missing display buffer resize test. 2009-09-17 15:59:34 -05:00
Allen Byrne
c44c9feb35 [svn-r17493] Bring changes from trunk to tools lib, h5dump and error handling.
Tested: h5committest, local linux
2009-09-17 15:37:09 -05:00
Raymond Lu
f4d69b78e5 [svn-r17490] Skip the test in the function test_rw_noupdate() for OpenVMS because the modification time
returned from the system function stat is the same as the last access time, making it 
impossible to test whether the file is modified.

Tested on jam for the same change in the trunk - simple change.
2009-09-17 14:27:18 -05:00
Scot Breitenfeld
c0bb2c979b [svn-r17486] Description:
Merged changes in the trunk/fortran to 1.8.

svn merge -r 17222:17485 https://svn.hdfgroup.uiuc.edu/hdf5/trunk/fortran

Brings bugfixes into 1.8 for:

Bug [1652] h5lget_info_by_idx_f missing/broken functionality
and 
Bug [1653] H5_LINK_* values defined in H5f90global.f90 are incorrect

Tested: jam (ifort)
        smirom (gfortran)
        linew (f90)
2009-09-17 12:03:42 -05:00
Raymond Lu
7dc63bdf27 [svn-r17481] Added H5Fsuper_cache.c to the make.com.
Not tested yet.
2009-09-15 13:57:14 -05:00
Larry Knox
8185461991 [svn-r17472] Snapshot version 1.8 release 3 (snap10) 2009-09-13 15:49:59 -05:00
Allen Byrne
4faad745e8 [svn-r17469] Update windows batch file to match the testh5diff.sh script change in rev 17467.
Tested: windows
2009-09-11 16:40:23 -05:00
Allen Byrne
885e92cba8 [svn-r17468] Corrected use of _Debug preprocessor value in release configurations of hdf5_f90cstubdll.vcproj
Removed extraneous configurations attached to files in libtest project files.
Corrected examples project file's debug configuration.
2009-09-11 15:44:41 -05:00
Peter Cao
aeec66cf49 [svn-r17467] " Use strict equality as default
"   Use "--use-system-epsilon" for system EPSILON
"   Use "-p" or "-d" for whatever user's choice of epsilon
"   Use "-p 0" or "-d 0" for strict equality (same as default)
2009-09-11 15:15:22 -05:00
Quincey Koziol
258d4b3835 [svn-r17464] Description:
Bring r17463 from trunk to 1.8 branch:

   Add another regression test for userblock+alignment usage, and correct
[another] issue with the combination. *sigh*

Tested on:
   FreeBSD/32 6.3 (duty) in debug mode
   (h5committested on trunk)
2009-09-11 08:27:04 -05:00
Quincey Koziol
0b3fbf9089 [svn-r17462] Description:
Bring r17461 from trunk to 1.8 branch:

Fix a few more problems when the user block is not aligned properly.

Tested on:
	FreeBSD/32 6.3 (duty) in debug mode
	(h5committested on trunk)
2009-09-10 14:33:12 -05:00