Commit Graph

2190 Commits

Author SHA1 Message Date
Jonathan Kim
d476ce138b [svn-r22114] Purpose:
Fix for HDFFV-7837 - h5diff: incorrect behavior with exclude-path option when unique object exist only in one file

Description:
  If unique objects exists only in one file and try to exclude
  the unique objects with --exclude-path option, h5diff missed 
  excluding some objects. 
  Fixed to exclude objects correctly in such case.
  Test cases were added and tagged with jira#.


Tested:
  jam (linux32-LE), koala (linux64-LE), ostrich (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE),  Windows (32-LE cmake), Cmake (jam)
2012-03-21 16:00:15 -05:00
Quincey Koziol
b7d9ed39c2 [svn-r22112] Description:
Minor code safety issue in test/fheap.c and whitespace in other files.

Tested on:
	Mac OSX/64 10.7.3 (amazon) w/debug
	(Too minor to require h5committest)
2012-03-21 15:25:52 -05:00
Jonathan Kim
26cab92853 [svn-r22108] Purpose:
HDFFV-7523 JPSS: h5dump fails to open an attribute when using the -a option to specify an attribute with a slash in the name

Description:
  Update command line help page and test generating file. 
  Previous commits: r22052, r22063

Tested:
  jam (linux32-LE), koala (linux64-LE), cmake (jam)
2012-03-21 13:56:36 -05:00
Allen Byrne
be410798d0 [svn-r22098] Add reference file extensions in new tests.
Remove "STAR" test as some platforms vary in interpretation.
2012-03-20 08:50:03 -05:00
Allen Byrne
a51eaab41a [svn-r22087] Minor formatting changes to sync with 1.8 2012-03-19 09:03:12 -05:00
Allen Byrne
f261344af9 [svn-r22077] Add example of multiple files for h5dump help text.
Tested: local linux
2012-03-15 16:21:46 -05:00
Allen Byrne
207c05e2e9 [svn-r22075] Add test for multiple files with h5ls and h5dump.
Tested: local linux
2012-03-15 15:44:51 -05:00
Allen Byrne
956fde680a [svn-r22074] Remove , from list of file char substitutions. 2012-03-15 14:50:36 -05:00
Allen Byrne
9f35a8b04e [svn-r22068] HDFFV-7876: wildcard filenames
The test scripts for cmake, on windows, and the h5ls shell script do not work properly.

Tested: h5committest
2012-03-14 13:36:21 -05:00
Allen Byrne
67f67925b8 [svn-r22066] Comment out linux non-cmake only files 2012-03-14 10:49:52 -05:00
Allen Byrne
63df2d99fd [svn-r22063] escape char in test needed multiple slashes to get through cmake parsing 2012-03-13 14:57:00 -05:00
Quincey Koziol
46a289c796 [svn-r22061] Description:
Change to use versioned API call, to avoid problems when defaulting to
older AI versions.

Tested on:
    Mac OSX/64 10.7.3 (amazon) w/debug
2012-03-13 09:38:37 -05:00
Peter Cao
57295db6c7 [svn-r22054] Use HDmalloc/free. 2012-03-12 16:53:24 -05:00
Peter Cao
fcf96afeb2 [svn-r22052] - h5dump: Added capability for "-a" option to show attributes containing "/"
by using an escape character. For example, for a dataset "/dset" 
               containing attribute "speed(m/h)", use "h5dump -a "/dset/speed(\/h)" 
               to show the content of the attribute. See details at HDFFV-7523
2012-03-12 16:27:11 -05:00
Allen Byrne
d7f3dc097e [svn-r22049] Add working folder to test properties when not using runTest.cmake script 2012-03-12 16:21:00 -05:00
Allen Byrne
bec199165a [svn-r22042] HDFFV-7957-7958:
Add tools error stack and check return from H5Dreference call.
Tested: CMake and h5committest
2012-03-12 11:33:15 -05:00
Jonathan Kim
0a46593a38 [svn-r22038] Purpose:
Fix for HDFFV-7835 h5diff: incorrect result for comparing the two same type symlinks as dangling links.

Description:
  When two symbolic dangling links are compared with --follow-symlinks option,
  the result should be same. It works for comparing two files, but didn't work
  for comparing two objects. 
  Test cases were added and tagged with jira#.


Tested:
  jam (linux32-LE), koala (linux64-LE), ostrich (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE),  Windows (32-LE cmake), Cmake (jam)
2012-03-09 15:34:37 -05:00
Jonathan Kim
3ac8dfa8b7 [svn-r22036] Purpose:
HDFFV-7602 - GMQS: HDF5 command tools: Provide framework for reusable test files among tools
  Stage2 working for h5ls 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-03-08 16:35:23 -05:00
Allen Byrne
3723a9591e [svn-r22033] Remove unnecessary INCLUDE_DIR command
Tested: local linux and windows
2012-03-07 09:39:38 -05:00
Allen Byrne
5ee3764068 [svn-r22029] Add reference file to test list
Add error-stack to tests

Tested: local linux
2012-03-06 08:35:27 -05:00
Allen Byrne
386b3e971b [svn-r22027] HDFFV-7839: Dangling link should not display error
If a link is specified on the command with the -d option, call the handle_links function on error from the H5Dopen command. 
Updated test file results with error stack when link not found.

Tested: local linux and jam
2012-03-05 14:33:30 -05:00
Allen Byrne
058f9c2056 [svn-r22024] Add HD prefix to tools library based tests. Cleaned allocation/free in tests.
Tested: local linux/ changes h5committetest against 1.8 version
2012-03-05 09:17:14 -05:00
Allen Byrne
f99cdd5afe [svn-r22019] Cleanup warnings from compiles
Tested: local linux
2012-03-02 16:30:30 -05:00
Jonathan Kim
b994a10148 [svn-r22012] Purpose:
Task for HDFFV-7862 - Select data by chunk direction to improve performance in h5repack

Description:
  h5repack sometimes became very slow when handling big chunked datasets in
  certain cases. (when chunk boundary doesn't match with a hyperslab boundary.)
  The main issue was from figuring out a hypeslab without considering chunk
  boundary to read from and write to such datasets.
  The update was made to figure out a better hyperslab unit with considering
  chunk boundary to improve performance for such cases prior to the update.


Tested:
  jam (linux32-LE), koala (linux64-LE), ostrich (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), Windows
2012-03-01 17:59:46 -05:00
Allen Byrne
e49c1ba04e [svn-r22007] Remove duplicated functions by using h5tools library calls
HDFFV-7949

Tested: local linux and h5committest
2012-02-29 12:51:24 -05:00
Allen Byrne
e53a56af53 [svn-r22005] function calls must be after assignments on windows 2012-02-29 09:04:51 -05:00
Allen Byrne
df6c92e506 [svn-r22004] Reduced warnings and fixed conflicts resulting from including h5tools.h
Tested: local linux
2012-02-28 13:26:34 -05:00
Allen Byrne
009522483e [svn-r21994] Add tools_init to main 2012-02-27 15:10:18 -05:00
Allen Byrne
3a713f8075 [svn-r21993] Add tools_init to main 2012-02-27 15:05:23 -05:00
Allen Byrne
6765de0c65 [svn-r21991] Cleanup minor issues found during 518 merge 2012-02-27 14:25:22 -05:00
Allen Byrne
c8458f779c [svn-r21990] Tools library uses alais variables for stdout, stderr and tools library uses HDfprintf() functions.
Tested: local linux, jam-pp
2012-02-27 11:56:09 -05:00
Allen Byrne
fb6eace960 [svn-r21988] Tools must call h5tools_init before command_line parsing or using tools_mesg functions.
Tools library uses alias variables for stdout, stderr and tools library uses HDfprintf() functions.
2012-02-27 09:50:27 -05:00
Allen Byrne
3d3bf48b9a [svn-r21987] Remove unnecessary dependancies on tools library for h5 file gentests.
Tested: local linux
2012-02-27 09:42:48 -05:00
Allen Byrne
8405400213 [svn-r21986] Updated haddr_t format for print of STORAGE_LAYOUT - linew 32 issue 2012-02-24 18:27:42 -05:00
Allen Byrne
202c36682b [svn-r21985] Tools must call h5tools_init before command_line parsing or using tools_mesg functions.
Tools library uses alais variables for stdout, stderr and tools library uses HDfprintf() functions.

Tested: local linux
2012-02-24 16:14:47 -05:00
Allen Byrne
2dffa66ef7 [svn-r21984] Correct HD prefix in tools
Checked for HD support.
2012-02-24 11:03:17 -05:00
Allen Byrne
67a1e576db [svn-r21983] Correct HD prefix in tools
Checked for HD support.
2012-02-24 10:53:42 -05:00
Allen Byrne
827cbbba31 [svn-r21982] Correct HD prefix in tools for exit
Checked for HD support.
2012-02-24 10:45:54 -05:00
Allen Byrne
cec338c647 [svn-r21981] Correct HD prefix in tools for fprintf
Checked for HD support.
2012-02-24 10:32:36 -05:00
Allen Byrne
5b1c9ffe2d [svn-r21980] Correct HD prefix in tools for *alloc
Checked for HD support.
2012-02-24 09:39:17 -05:00
Allen Byrne
944f2cdf8d [svn-r21979] Correct HD prefix in tools for strlen and memcpy
Checked for HD support.
2012-02-24 09:27:57 -05:00
Allen Byrne
b2ec30bfe3 [svn-r21978] undo HD prefix 2012-02-24 08:29:03 -05:00
Allen Byrne
0b4463911f [svn-r21974] Update HSIZE_T print statements to use correct macro.
Fix some more HD prefix issues in tools.

Tested: local linux
2012-02-23 14:08:09 -05:00
Allen Byrne
9974e02bc0 [svn-r21973] Correct limited reallocation on windows.
Tested: local linux, windows, h5committest
2012-02-23 12:45:46 -05:00
Allen Byrne
c47f6becf2 [svn-r21972] Split append statement into two parts - linew hsize_t issue 2012-02-23 09:16:26 -05:00
Allen Byrne
108c788d37 [svn-r21971] Correct HD prefix 2012-02-22 17:23:08 -05:00
Allen Byrne
bd11f8643d [svn-r21970] Added missing HD prefix 2012-02-22 17:03:07 -05:00
Allen Byrne
d59da45c98 [svn-r21969] Added missing HD prefix
Correct indentation
2012-02-22 16:58:50 -05:00
Allen Byrne
6ef73c4282 [svn-r21968] Added missing HD prefix 2012-02-22 16:40:23 -05:00
Allen Byrne
60030b5631 [svn-r21967] Checked all %lu references and corrected 2 that should have been '%"H5_PRINTF_LL_WIDTH"u'
Moved lib variables windows linking declarations to proper file location.

Tested: local linux windows
2012-02-22 09:03:59 -05:00