Commit Graph

1083 Commits

Author SHA1 Message Date
Raymond Lu
6e55bfba8a [svn-r21024] Bug fix for Issue 2598 - In v1.6 library, there was EOA for the whole MULTI file saved in the
super block.  We took it out in v1.8 library because it's meaningless 
           for the MULTI file.  v1.8 library saves the EOA for the metadata file, 
           instead. But this caused some backward compatibility problem.
           v1.8 library couldn't open the file created with v1.6 library.  I 
           fixed the problem by checking the EOA value to detect the file
           created with v1.6 library. 

Tested on jam, koala, and linew.
2011-06-23 11:40:31 -05:00
Scot Breitenfeld
cb05ffd2bb [svn-r21002] Description:
Brought r20958-20960 for DS fortran APIs from trunk.

Tested: jam (intel)
2011-06-19 23:06:57 -05:00
Raymond Lu
99030cf45c [svn-r20936] Issue 4278 - When reading data fails, the error message should say which filter isn't registered. The fix is simple. Most of the effort is on the test. The file with filter enabled is created in gen_filter.c. The verification of the error message is in test_error.c. The output is compared against the standard output.
Tested on jam, koala, and heiwa.
2011-06-06 17:15:24 -05:00
Raymond Lu
5d7907cde5 [svn-r20859] Issue 2599 - Cross-test BE and LE data. I added the test for deflate, szip, fletcher32, shuffle and nbit filter in cross_read.c and gen_cross.c. I also took out the data file for OpenVMS because the data isn't native but IEEE for floating-numbers.
Tested on jam and linew.  But I tested the same change to the trunk with h5committest.
2011-05-18 11:50:02 -05:00
Allen Byrne
8fc3aa7ca3 [svn-r20809] Add Using_CMake.txt file to docs and install 2011-05-13 09:12:13 -05:00
Allen Byrne
a56750c9b5 [svn-r20802] Bring trunk revision 20798 to 1.8. Trunk changes passed overnight.
Tested: local linux
2011-05-12 12:23:43 -05:00
Dana Robinson
acf8608ce6 [svn-r20789] Merged 20724 and 20756 from the trunk to fix HDFFV-7527 concerning
invalid enum value comparisons.

Tested on: h5committest
2011-05-10 11:11:11 -05:00
Albert Cheng
bcde54c003 [svn-r20772] Problem:
Test scripts sometimes need to filter some system-specific messages from the
actual output so that it can match the correct expected output. These filtering
functions, ususally called "STDOUT_FILTER()" and "STDERR_FILTER()" were being
repeated in individual test scripts.  This becomes a maintenance problem and
is error prone.

Solution:
Extract the two filter functions code to bin/output_filter.sh and then each
test script sources it in. This allows reuse of coding and is much easier to
maintain and to add new filtering.

Tested:
LLNL Zeus (linux64 cluster) and Dawndev (Blue-Gene cluster), both for serial
mode only.
2011-05-07 12:06:48 -05:00
Allen Byrne
7706186b2f [svn-r20722] Refactor ext lib import and install.
Change case of tools subtests to not conflict with tools tests.
Add SOVERSION for linux
Remove PACKED BITS define/idef blocks

Bring r20721 from trunk
2011-05-04 14:46:33 -05:00
Allen Byrne
dd8ce27961 [svn-r20642] Add CPack overrides for NSIS install paths. Install for products are: HDF Group/Product/Version 2011-04-26 14:16:10 -05:00
Raymond Lu
af5d073a30 [svn-r20585] I updated it for 2 new data files in the h5diff/testfiles directory.
I tested the same change in the trunk with h5committest.
2011-04-20 17:11:38 -05:00
Raymond Lu
4d0fbe96bc [svn-r20579] Bug 1386 - allowing dimension size to be zero. I added test cases in the tests for h5dump and h5diff. I also added the
test cases in the CMAKE script.

Tested on jam.  But I tested the same change in the trunk with h5committest.
2011-04-20 16:34:49 -05:00
Albert Cheng
e59c147f5d [svn-r20521] Removed ibm-aix6.x file which just sourced ibm-aix file. Removed code in
configure.in that tried to distinguish different versions of AIX. This is no 
longer needed.

Tested:
NCSA Blue-print. No h5committest since this affected AIX system only.
2011-04-15 15:14:03 -05:00
Quincey Koziol
531f24926c [svn-r20517] Description:
Bring r20513 from trunk to 1.8 branch:

	Correct several problems with compound datatypes that don't have any
fields added:

- Change assertion to error report when a file is encountered which has this
	situation.

- Added check to attribute creation to avoid creating attributes with a
	datatype like this (datasets and named datatypes already have the check)

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/default API=1.8.x,
               w/C++ & FORTRAN, w/threadsafe, in debug mode
       Linux/64-amd64 2.6 (amani) 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, w/threadsafe, in production mode
       Linux/PPC 2.6 (heiwa) w/C++ & FORTRAN, w/threadsafe, in debug mode
2011-04-15 14:25:36 -05:00
Allen Byrne
47c80528fa [svn-r20464] Merge cmake changes from trunk r20463, after weekend of tests on trunk.
Tested: local linux
2011-04-11 10:07:29 -05:00
Jonathan Kim
d467c2ce71 [svn-r20369] Purpose:
Fixed Bug 2184 - GMQS: h5diff - incorrect calculation code for 
    --use-system-epsilon option

Description:
    Fixed h5diff for --use-system-epsilon option: the calculation changed
    from ( |a - b| / b ) to ( |a - b| ). This was decided for better 
    performance and was corrected only in HDF5 trunk, so 1.8 got updated.
    Also comments for equal_XXX() function were updated correctly. 
    Also help page and RM got updated correctly.
    Also add test cases for testing the differences w/wo the option.

     
Tested:
 jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), Windows (32-LE)
2011-03-29 11:20:19 -05:00
Jonathan Kim
2aabc3f415 [svn-r20299] Purpose:
Fixed CHICAGO: Bug 2121 - h5diff - incorrect and lack of output for the 
    different set of attributes (different number and names)

Description:
    Merged from HDF5 trunk r20294
    Previously h5diff compared attributes correctly only when two objects have 
    the same number of attributes and attribute names are identical.
    Also didn't display useful information about attribute difference.
    This fix covers all other cases.
    This fixes both issues.

     
Tested:
 jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE)
2011-03-23 09:37:45 -05:00
Allen Byrne
187178aa4d [svn-r20264] Corrected typo 2011-03-16 15:30:03 -05:00
Allen Byrne
2b3c1b7812 [svn-r20263] Merge in lahey project files.
Tested: windows
2011-03-16 15:11:54 -05:00
Peter Cao
d454f9ddad [svn-r20213] fixed bug 2183 2011-03-09 11:49:52 -05:00
Allen Byrne
e89007f621 [svn-r20182] BZ2048: Add -E --enable-error-stack option to h5dump.
Brought from trunk after one week of tests.

Tested: local linux
2011-03-04 08:34:18 -05:00
Allen Byrne
7eb98436fc [svn-r20157] Bring CMake changes to branch up to r20156 from trunk 2011-02-25 09:33:50 -05:00
Allen Byrne
2f638790c1 [svn-r20138] Add new efc files and projects to windows 2011-02-22 08:56:07 -05:00
Jonathan Kim
6ac5999fe7 [svn-r20133] Purpose:
Fixing Bug 2092 - h5dump does not display index for a dataset

Description:
    Merged from HDF5 trunk r20108 and r20132.
    h5dump skip displaying array indices every certain number when the 
    array type dataset is relatively big. The certain number varies 
    according to the size of each array. 
    This checkin fix the skipping array indices problem. This fix also
    correct indentation of the dataset data output.

     
Tested:
 jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), Cmake - jam
2011-02-21 17:30:59 -05:00
Albert Cheng
c620068cb6 [svn-r20123] Bug fix (ID: 519)
The content of bin/config_para_ibm_sp.sh has been added to
release_docs/INSTALL_parallel long ago.  Just got around to remove it.

Tested: no need since nothing refer to config_para_ibm_sp.sh except MANIFEST.
Ran bin/chkmanifest.
2011-02-18 14:23:51 -05:00
Neil Fortner
745b95fdba [svn-r20114] Merge r20112 (open_file_pool) into 1_8 branch.
Tested: jam (open_file_pool branch tested with h5committest)
2011-02-17 11:34:03 -05:00
Allen Byrne
86327226cc [svn-r20079] Correct Fortran handling in CMake files
Tested: local: linux
2011-02-10 16:12:45 -05:00
Allen Byrne
94cdd543ad [svn-r20041] Created valgrind cacheinit file, Corrected ignore list, updated memcheck defines 2011-02-04 14:54:47 -05:00
Allen Byrne
cbcc7e92bb [svn-r20014] Change use of variable to allow a SITE name to be defined, to using it to extend the build name used in reporting to CDash 2011-01-27 09:59:28 -05:00
Jonathan Kim
f134f15fcf [svn-r19992] Purpose:
h5dump: add dangling external link test case as part of Chicago project.
    Merged from hdf5 trunk r19971.

Tested:
 jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), linew (solaris-BE)
2011-01-25 16:01:17 -05:00
Albert Cheng
e684679ccd [svn-r19955] Removed since its code has been copied to t_shapesame.c. 2011-01-14 11:30:18 -05:00
Albert Cheng
f0489be2da [svn-r19940] Updated with new file ./testpar/t_shapesame.c 2011-01-11 23:27:03 -05:00
Allen Byrne
b07be6d521 [svn-r19916] Add hh modifier to signed char printf format string. Added h5dump test to verify that signed/unsigned datasets print correctly.
Solves problem on heiwa with Signed char of 8 bits
Tested: local linux, heiwa
2011-01-05 13:58:21 -05:00
Allen Byrne
a863723db8 [svn-r19897] Extend packed bits and testing to 64 bit integers.
Tested: local Linux
2010-12-30 09:00:48 -05:00
Allen Byrne
a296f560fd [svn-r19881] Add new file. 2010-12-08 17:03:18 -05:00
Vailin Choi
64a7862ffe [svn-r19824] 1. Made fixes as in rev #19813 in trunk:
a) Add comments to test_4() in test/external.c about the name "/ link".
   b) Fix one memory leak in src/H5Lexternal.c: free memory pointed to by tmp_env_prefix for HDF5_EXT_PREFIX case.
3. Made changes for bug #1930 as in rev #19783, #19781 in trunk.
4. Made corresponding CMake changes as in rev #19782 in trunk.
2010-11-18 14:11:51 -05:00
Jonathan Kim
3b7a375179 [svn-r19752] Purpose:
Fixed Bug# 1979 Output from h5ls -rdlS on nested compound datatypes is 
    difficult to parse.

Description:
    Update to add curly brackets for the nested compound members, when
    S (--simple) option is used with -l (--label), so user can tell 
    which members blong to which compound type.
    Merged from hdf5 trunk r19751.


Tested:
 jam (linux32-LE), amani (linux64-LE)
2010-11-09 16:32:26 -05:00
Allen Byrne
9f58bc50cf [svn-r19727] [BZ2072]Add compare output to expected test for help and version options of mkgrp.
bring r19726 back from trunk

Tested: local linux
2010-11-04 15:51:57 -05:00
Jonathan Kim
13c16c8982 [svn-r19713] Purpose:
Fixed h5diff to handle variable-length strings in a compound dataset 
    correctly. Also variable-length string array in a compound dataset.
    Bug #1989.
    

Description:
    Garbage values were displayed when h5diff compared variable-length 
    strings (or string array) in a compound type dataset. 
    Merged from hdf5 trunk r19712.


Tested:
 jam (linux32-LE), heiwa (linuxppc64-BE)
2010-11-02 11:57:16 -05:00
Jonathan Kim
0c6929dfde [svn-r19634] Purpose:
Fix for bug# 2040 - h5copy should fail gracefully for expected failure copying to non-exist nested group without -p option.

Description:
 Fixed h5copy to fail gracefully when copying object to non-exist group without -p option. This is expected to be failed.
 Merged from hdf5 trunk r19633.


Tested:
 jam, amani
2010-10-18 18:17:33 -05:00
Mike McGreevy
1c14d3e96d [svn-r19618] Purpose:
Bring metadata accumulator fixes and tests into 1.8
Description:
    Changes consist of addition of tests for H5Faccum.c source code,
    as well as some fixes that address some discovered bugs in the
    metadata accumulator on several corner cases.
Tested:
    h5committested
2010-10-15 14:59:07 -05:00
Jonathan Kim
b40ed7bfd4 [svn-r19603] Purpose:
Backout the previous change:
 (Fix for bug# 2040 - h5copy should fail gracefully for expected failure copying to non-exist nested group without -p option.)

Description:
 Some failure occurred on talwit, so backout the changes and will put it 
 back after the fix.
 (Fixed h5copy to fail gracefully when copying object to non-exist group without -p option. This is expected to be failed.
 Merged from hdf5 trunk r19598.)
2010-10-14 18:41:40 -05:00
Jonathan Kim
5b444e61a2 [svn-r19599] Purpose:
Fix for bug# 2040 - h5copy should fail gracefully for expected failure copying to non-exist nested group without -p option.

Description:
 Fixed h5copy to fail gracefully when copying object to non-exist group without -p option. This is expected to be failed.
 Merged from hdf5 trunk r19598.

Tested:
 jam, amani
2010-10-14 16:08:15 -05:00
Allen Byrne
c18db616e5 [svn-r19528] Add clear generated objects commands to test blocks.
Add configurefile command to copy CTestCustom to build folder.

Bring r19527 back from trunk

Tested: local linux
2010-10-06 15:51:02 -05:00
Allen Byrne
f8e2dfd298 [svn-r19459] Add CMake tests for check-vfd; includes new vfdTest.cmake script and OPTION HDF5_TEST_VFD
Tested: local linux
2010-09-21 12:23:53 -05:00
Jonathan Kim
77af8fc271 [svn-r19446] Update for previous checkin r19444 2010-09-20 17:24:40 -05:00
Binh-Minh Ribler
111a9d04b5 [svn-r19433] Description:
Added ./config/ibm-aix6.x
2010-09-20 12:53:29 -05:00
Jonathan Kim
3bfb10b2fc [svn-r19411] Purpose:
Add extra test cases for Bug1975 h5diff - support recursive comparison on group when specified as an object

Description:
 Merged from hdf5 trunk (r19409)
 Additional tests for combination of group recursive and --follow-symlinks 
 with multi-linked external links with several files (same name/strucure).

Tested:
 jam, amani, heiwa
2010-09-16 19:22:29 -05:00
Jonathan Kim
6d97ffcc6c [svn-r19407] Purpose:
Add --exclude-path option

Description:
 Merged from hdf5 trunk (r19406).
 Specified path to an object will be excluded from comparing the two files or two groups. If group is specified all the member objects will be excluded.
Related to "1890:  h5diff excluding object for file comparison via command line"

Tested:
 jam, amani
2010-09-16 16:57:27 -05:00
Allen Byrne
607c97c175 [svn-r19404] Update to H5REPACK tests for layout info required a grep script like runTest.cmake.
Update CMakeLists.txt for new h5repack  layout tests.

Tested: local linux
2010-09-16 15:31:46 -05:00