Commit Graph

13071 Commits

Author SHA1 Message Date
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
e7896ce1ce [svn-r22633] Correct packaing info 2012-08-06 11:39:13 -05:00
Allen Byrne
db5a8eaa54 [svn-r22631] Move executable statement to after declarations 2012-08-05 21:48:11 -05:00
Larry Knox
456b97b9fa [svn-r22629] Snapshot version 1.9 release 124 2012-08-05 13:42:13 -05:00
Quincey Koziol
f2bc1b43de [svn-r22627] Description:
Merge some of the changes on the plist_encode_decode branch back to the
trunk.

Tested on:
    Mac OSX/64 10.7.4 (amazon) w/debug
    (Too minor to require h5committest)
2012-08-03 18:44:17 -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
Allen Byrne
c9cd62c1b5 [svn-r22624] The cmake folder needed a local variable to not include a "." as one of the path components on windows. 2012-08-03 12:46:47 -05:00
Allen Byrne
cc7ae0a7fe [svn-r22622] Windows config is up one level 2012-08-02 15:31:43 -05:00
Allen Byrne
49a11118ee [svn-r22620] Add ${CMAKE_RUNTIME_OUTPUT_DIRECTORY} to default include_dirs
Correct cmake packaging names
2012-08-02 12:57:54 -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
d4d9cbd52d [svn-r22614] Revert heading of summary. 2012-07-30 14:15:31 -05:00
Scot Breitenfeld
65100aa371 [svn-r22611] Fixed: HDFFV-8013 H5LTget_attribute_string appears to not close an object identifier
Tested: gnu and intel (jam)
2012-07-26 22:18:03 -05:00
Scot Breitenfeld
f385b0d537 [svn-r22610] HDFFV-8055 H5TBdelete_record destroys data after the deleted row
Added fix and test case.

Tested: gnu and intel (jam)
2012-07-26 21:51:04 -05:00
Quincey Koziol
7143164de9 [svn-r22608] Description:
Switch propert list/class iteration from internal to external form of
iteration, cleaning up and simplifying the code a bit.

    Bring other general improvements from plist_encode_decode branch back to
trunk.

    Clean up many warnings.


Tested on:
    Mac OSX/64 10.7.4 (amazon) w/gcc 4.7, debug and C++ & FORTRAN
    (too minor to require h5committest)
2012-07-26 14:33:59 -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
Neil Fortner
c04144fb39 [svn-r22601] Purpose: Fix HDFFV-5853
Description:
When jumping out from between H5_BEGIN_TAG and H5_END_TAG macros using
HGOTO_ERROR or HGOTO_DONE, the previous metadata tag is not reset on the dxpl.
This could cause problems when, for example, calling H5Ocopy within an
H5Literate callback.

Added new HGOTO_ERROR_TAG and HGOTO_DONE_TAG macros which must be used in place
of the above between H5_BEGIN_TAG and H5_END_TAG.

Tested:
jam, koala, ostrich (h5committest), durandal
2012-07-25 16:50:22 -05:00
Allen Byrne
b5ef63b550 [svn-r22599] FinHDF5 should be generated during build. 2012-07-24 09:10:05 -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
Quincey Koziol
75f4e51a1a [svn-r22582] Description:
Refactor ID class registration to be more like how other "class"s in the
library are registered, and clean up compiler warnings.

Tested on:
    Mac OSX/64 10.7.4 (amazon) w/debug
    (Too minor to require h5comittest)
2012-07-16 14:54:26 -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
Raymond Lu
feb79ce8ea [svn-r22575] Issue 8068 - A user reported some random data in the padding of fill value. The problem happened in H5P_get_fill_value. I believe it's because the background buffer wasn't big enough. So I corrected it in this checkin.
Tested on jam and koala - simple change.
2012-07-13 17:10:57 -05:00
Allen Byrne
c7513e1776 [svn-r22570] Correct name of error reference file 2012-07-13 09:12:17 -05:00
Allen Byrne
f48ae2195a [svn-r22569] On windows read/write error reference file just like reference file before comparision. This will set the line endings. 2012-07-13 08:58:18 -05:00
Allen Byrne
a947f3b755 [svn-r22568] fix another typo - due to wrong edit state! 2012-07-12 16:50:26 -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
1942f47bcf [svn-r22566] correct typo of new files names 2012-07-12 11:51: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
f1850c6156 [svn-r22560] Changes to allow tests to compare error files! 2012-07-12 08:32:47 -05:00
Allen Byrne
7bed6ec213 [svn-r22557] Add missing test file 2012-07-11 15:46:12 -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
59da54f0fd [svn-r22547] Remove clear-objects from ignore list (like h5import) 2012-07-10 14:31:54 -05:00
Allen Byrne
912daba464 [svn-r22546] Correct generation of testfile 2012-07-10 13:58:20 -05:00
Allen Byrne
a7f482142e [svn-r22545] Enable H5IMPORT-clear-objects for valgrind
Tested: local linux
2012-07-10 13:36:01 -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