Commit Graph

2282 Commits

Author SHA1 Message Date
Larry Knox
c5371d7618 [svn-r22819] Added H5BLD_STATIC and HDF5_USE_SHLIB to configure.ac so that if configured with --disable-static the default for HDF5_USE_SHLIB in the compile scripts will be changed to yes. This is a fix for HDFFV-8141, where the compile scripts try to link to non-existant static hdf5 libraries.
Tested on jam,koala,ostrich(h5committest) and other THG machines.
2012-09-26 23:49:19 -05:00
Jonathan Kim
563990e64e [svn-r22816] Failed on Mac for testing tscalarintsize and tscalarattrintsize from daily test.
Larry mentioned that intel compiler was used on Mac for testing.
Allen requested comment it out.
"It is not scheduled for 1.8, I created the file for Java testing. Actually I 
have to create windows versions because of the use of floating point." - Allen
2012-09-26 15:21:36 -05:00
Jonathan Kim
50e3990f2a [svn-r22805] Purpose:
HDFFV-8012 - h5repack changes max dims and cause failure if only "-f none" is used without changing layout for chunked dataset when a chunk dim is bigger than a dataset dim

Description:
    "h5repack -f <obj>:NONE <file.h5> out.h5" command failed if source file contains chunked dataset and a chunk dim is bigger than a dataset dim. 
    Another issue is that the command changed max dims if chunk dim is smaller than the dataset dim. 
    These issue occurred when dataset size is smaller than 64k (compact size limit)
    Fixed them.

Tested: 
    jam (linux32-LE), koala (linux64-LE), ostrich (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE),  Windows (32-LE cmake), cmake (jam)
2012-09-24 18:13:57 -05:00
Allen Byrne
d834917bca [svn-r22795] Create scalar test files and h5dump tests.
Tested: local linux
2012-09-20 13:57:03 -05:00
Allen Byrne
eff696a3b0 [svn-r22785] HDFFV-8153: Pull POSIX_C_SOURCE define out to separate variable. Use ADD_DEFINITIONS (${HDF5_EXTRA_C_FLAGS}) in non-fortran CMakeLists.txt folders
Tested: jam with intel compilers
2012-09-18 17:08:07 -05:00
Jonathan Kim
89a2c4a783 [svn-r22751] Purpose:
HDFFV-5919 -  GMQS: h5diff - The number of object difference is not consistent between dataset and group/type when attribute(s) have differences

Description:
  Object differences are not consistent between dataset and group/datatype when their attribute(s) have differences. This is because attribute(s) differences is not accumulated to group or datatype object’s difference, but accumulated to dataset difference.
  To fix, do not accumulate attribute difference to dataset difference.  This is referred to h5diff’s default behavior and also past report from users that users were confused by the accumulated behavior. (also can’t figure out only for dataset difference , also hard to spot dataset difference when it has lots of attributes or differences)
  This also lead to fix inconsistent format indicating difference between dataset and group/datatype object.

Tested: 
    jam (linux32-LE), koala (linux64-LE), ostrich (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE),  Windows (32-LE cmake), cmake (jam)
2012-09-10 16:40:47 -05:00
Allen Byrne
6137e3add0 [svn-r22740] Correct typo on test command 2012-09-05 14:04:00 -05:00
Allen Byrne
3c69283e0b [svn-r22726] remove duplicate file line 2012-08-30 09:49:48 -05:00
Allen Byrne
6ce1aa0ffe [svn-r22725] Add other h5 files needed by pbits tests 2012-08-30 09:48:31 -05:00
Allen Byrne
b257bab294 [svn-r22720] Fix RelWithDebInfo packaging 2012-08-28 12:39:30 -05:00
Allen Byrne
1fa894c6b9 [svn-r22718] Remove unneeded srcdir test 2012-08-27 13:51:48 -05:00
Allen Byrne
7089b2cff0 [svn-r22716] HDFFV-8133: Add usage text to see Reference manual for compact subsetting. 2012-08-27 10:56:23 -05:00
Allen Byrne
caa51543a8 [svn-r22710] Remove reference to srcdir in TOOL path 2012-08-23 11:56:02 -05:00
Allen Byrne
1f8fb63581 [svn-r22709] HDFFV-8129: reconfigured on jam, Remove overloading of autotools TESTS var, rename configure.in to configure.ac, convert test scripts from hard *.sh to configure managed *sh.in files.
Tested: h5committest
2012-08-23 11:07:43 -05:00
Larry Knox
edf83e5d1f [svn-r22706] Updated autotools: autoconf 2.69, automake 1.12.3, m4 1.4.16, libtool 2.4.2
Tested THG machines.
2012-08-22 00:00:32 -05:00
Jonathan Kim
bb11cbee94 [svn-r22691] Purpose:
HDFFV-7942 - h5diff: incorrect result for comparing attribute data with different type size in same class

Description:
   This is additional fix due to daily build fail against previous r22684.
   Refer to the svn -r22684 log for previous details

Tested: 
 jam (linux32-LE), koala (linux64-LE), ostrich (linuxppc64-BE), cmake (jam)
2012-08-16 10:50:25 -05:00
Jonathan Kim
231fc4d781 [svn-r22684] Purpose:
Address HDFFV-7942 - h5diff: incorrect result for comparing attribute data with different type size in same class

Description:
   When comparing attribute data values with same type class but different size, the result was incorrect.  It was due to the size difference and got truncated. 
   Fixed to match up the smaller type size to big type size like what dataset does.

  
Tested: 
 jam (linux32-LE), koala (linux64-LE), ostrich (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), Windows (32-LE cmake), cmake (jam)
2012-08-15 11:04:26 -05:00
Allen Byrne
eb4fd07b5a [svn-r22674] Remove checks for filters are available because the h5dump tests never used the filters in the tests. "-H" option excludes data.
HDFFV-8125
2012-08-13 10:34:22 -05:00
Quincey Koziol
88a94bbe7f [svn-r22646] Description:
Changes resulting from Klocwork static analysis tool, from Mark Miller
@ LLNL (miller86@llnl.gov).

Tested on:
    Mac OS X/64 10.7.4 (amazon) w/debug, C++ & FORTRAN, using gcc 4.7.x
    (too minor to require h5committest)
2012-08-08 18:01:20 -05:00
Allen Byrne
79b2eb993e [svn-r22642] Correct check for filters in tools test 2012-08-08 12:03:44 -05:00
Allen Byrne
9c547117ec [svn-r22637] Remove legacy command to kill MPI processes on obj to obj testing.
Tested: Windows, jam, koala
2012-08-06 15:08:12 -05:00
Allen Byrne
db5a8eaa54 [svn-r22631] Move executable statement to after declarations 2012-08-05 21:48:11 -05:00
Allen Byrne
28943c415b [svn-r22625] HDFFV-8111: h5diff compare file to itself - removed path shortcut 2012-08-03 15:11:36 -05:00
Jonathan Kim
99ef5765f5 [svn-r22618]
Purpose:
  HDFFV-8003 - ph5diff (parallel h5diff): daily test failure on ember intermittently during non comparable test file comparison
  HDFFV-7755 - parallel h5diff : hanging on koala intermittently during non comparable test file comparison

Description:
  non-comparable test intermittently hung on koala and ember, but not on jam. it didn't occur until -np reaches 4 or bigger. it occurred once out of many repeated attempts of the same test.
  There was a incorrectly (mistakenly?) duplicated code in MPI section which caused such hang in a certain condition. The test used more processes than other tests, which increased chance to trigger more undone processes, and such process could enter the incorrect code section and wait for wrong pair of send. it explains why it occurred intermittently according to machine condition and using a certain feature. 
  Removed incorrect code which blocked correct code.
  
Tested: some manually repeated test performed
 jam (linux32-LE), koala (linux64-LE), ostrich (linuxppc64-BE)
2012-08-01 12:07:46 -05:00
Jonathan Kim
840ad09105 [svn-r22617] Purpose:
Fix for HDFFV-8107 testh5diff will fail if build/test in HDF5 source tree

Description:
  This is sub-task for "HDFFV-8105 testh5diff.sh uses the wrong operator (-a) in an if statement."
  From the HDFFV-8105's update, h5diff test failed if build&test is performed in HDF5 source tree because 'cp' try to copy test files to self dir. 
  It's addressed by skipping if cp's src dir and dest dir is same.
  Also this applied for all other tools under src/tools dir.
  No change to the CMakeLists.txt files because CMake cautions/demands that in-source builds be avoided.

  
Tested: 
 jam (linux32-LE), koala (linux64-LE), ostrich (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), some manual tests as well
2012-08-01 10:37:40 -05:00
Allen Byrne
74e0060526 [svn-r22606] Correct typo from cut/paste 2012-07-26 09:21:15 -05:00
Allen Byrne
aeaab5204b [svn-r22605] Skip test that require h5diff to compress when the DEFALTE filter is unavailable 2012-07-26 08:54:06 -05:00
Allen Byrne
389e928176 [svn-r22604] cast void* to char* for calculation
Issue on windows
2012-07-26 08:32:12 -05:00
Allen Byrne
dd27fe612c [svn-r22602] 2012-07-25 17:17:48 -05:00
Allen Byrne
ab072288ad [svn-r22598] BE machines have a different offset in STORAGE_LAYOUT then the LE machines.
Use h5diff with -r to not report warnings.

Tested: local with CMake and ostrich with shell script
2012-07-23 10:58:30 -05:00
Albert Cheng
9e08a0d8c5 [svn-r22594] Bug fix: HDFFV-8105
Description:
The test command in COPY_TESTFILES_TO_TESTDIR used the wrong operator -a which
means and. It is not sufficient to test mere existence as $tstfile could have
been a directory or other non-file things.  If the file is not readable, the
$CP command would fail but its return code was not checked.

Solution:
Get rid of the test command and go ahead to $CP it and then check its returned
code and report errors if detected.

Tested; committested. (note that ostrick still failed on errors committed by
other staff).
2012-07-22 01:42:30 -05:00
Allen Byrne
23d32fec25 [svn-r22590] correct reference file location in runTest command 2012-07-20 11:55:37 -05:00
Allen Byrne
3a1c4de359 [svn-r22589] Change strto functions to the HD prefix versions.
Tested: local
2012-07-20 11:41:11 -05:00
Allen Byrne
4a6f93f895 [svn-r22588] HDFFV-721: h5dump supplies input for h5import
Tested: local linux with cmake
        jam with configure
2012-07-19 14:53:17 -05:00
Allen Byrne
2e3ab09a52 [svn-r22581] HDFFV-588: hdump restrictions on filename for split files. Added text and example to usage.
Tested: local linux
2012-07-16 13:21:05 -05:00
Allen Byrne
d06dd11291 [svn-r22577] Windows compilers require declarations at top of routine. 2012-07-16 10:08:03 -05:00
Allen Byrne
210d04b05f [svn-r22567] HDFFV-7784: add attributes to the list of file contents option for h5dump. This is accomplished by adding an optional value to the option (-n)
Created test and reference files.

Tested: local linux with cmake
2012-07-12 15:30:30 -05:00
Allen Byrne
6e0eb24b7b [svn-r22564] HDFFV-8095: index order of links wrong
Create setters for indexing options in h5trav.c to be set before the obj table is created. 
Revert h5trav_print to remove now duplicated parameters.
Added test and testfiles.

Tested: local linux with cmake
2012-07-12 10:40:15 -05:00
Allen Byrne
b54b3fcf29 [svn-r22563] HDFFV-8095: index order of links wrong
Create setters for indexing options in h5trav.c to be set before the obj table is created. 
Revert h5trav_print to remove now duplicated parameters.
Added test and testfiles.

Tested: local linux with cmake
2012-07-12 10:38:44 -05:00
Allen Byrne
4bba12dbee [svn-r22562] tattr-3err file missing from list in cmake 2012-07-12 08:56:25 -05:00
Allen Byrne
fa28c69b55 [svn-r22561] Add errfile to list.
Create missing errfile, edit ddl file for test only on linux (not using cmake).
2012-07-12 08:52:31 -05:00
Allen Byrne
d987b06112 [svn-r22556] HDFFV-7936: added error files in h5dump folder and adjusted scripts to compare error files.
Tested: local linux with cmake,
   jam with make check
2012-07-11 15:12:31 -05:00
Allen Byrne
4b29d11f74 [svn-r22552] update comment 2012-07-11 10:16:14 -05:00
Allen Byrne
61cb9cc547 [svn-r22550] Correct datatypes in generator and update files for test.
Tested: local linux with cmake
2012-07-11 09:03:53 -05:00
Allen Byrne
91d63fa0ae [svn-r22548] added test for "-w0" option
Tested: local linux
2012-07-10 14:51:56 -05:00
Allen Byrne
912daba464 [svn-r22546] Correct generation of testfile 2012-07-10 13:58:20 -05:00
Allen Byrne
87fe8971ed [svn-r22544] Add test to verify use of named datatypes
HDFFV-2687
Tested: local linux with cmake
2012-07-10 12:12:06 -05:00
Jonathan Kim
bb696c61ac [svn-r22541] Purpose:
HDFFV-7602 - GMQS: HDF5 command tools: Provide framework for reusable test files among tools
  Stage2 working for h5dump tool.

Description:
  Update cmake script to fetch test files from any tools to a test directory
  and run test in organized manner. 
  Also keep the apperance similiar to shell script for better maintainance.
  
Tested:
  CMake (Windows and jam)
2012-07-10 10:37:14 -05:00
Allen Byrne
212cd31641 [svn-r22539] Correct indentation 2012-07-10 09:31:22 -05:00
Allen Byrne
a496d41ac7 [svn-r22537] Correct error string contents 2012-07-10 09:22:40 -05:00