summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r14636] Purpose:Albert Cheng2008-02-221-1/+1
| | | | | | | | | | | feature. Description: Added the feature of non-repeated tests. If a test has passed, it will not be run again in the next 'make check' unless its executable has changed. Also added the target "check-clean" to remove all the *.chkexe files which indicated the test passed last time.
* [svn-r14632] #684. HDF5 Utilities: many do not include a version option ↵Pedro Vicente Nunes2008-02-221-38/+44
| | | | | | (added a version -V flag to h5unjam) tested: linux
* [svn-r14631] #684. HDF5 Utilities: many do not include a version option ↵Pedro Vicente Nunes2008-02-221-16/+21
| | | | | | (added a version -V flag to h5jam) tested: linux
* [svn-r14630] new syntax in the h5diff call of the h5repack test scriptPedro Vicente Nunes2008-02-201-2/+2
| | | | tested: linux
* [svn-r14629] remove unused filePedro Vicente Nunes2008-02-201-9/+0
|
* [svn-r14627] #727(E1) h5repack, h5diff: add long switch names. Pedro Vicente Nunes2008-02-2062-1024/+1140
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | #880(E1) Make the command line tool switches uniform. New syntax for h5diff usage: h5diff [OPTIONS] file1 file2 [obj1[obj2]] file1 File name of the first HDF5 file file2 File name of the second HDF5 file [obj1] Name of an HDF5 object, in absolute path [obj2] Name of an HDF5 object, in absolute path OPTIONS -h, --help Print a usage message and exit -V, --version Print version number and exit -r, --report Report mode. Print differences -v, --verbose Verbose mode. Print differences, list of objects -q, --quiet Quiet mode. Do not do output -n C, --count=C Print differences up to C number -d D, --delta=D Print difference when greater than limit D -p R, --relative=R Print difference when greater than relative limit R C - is a positive integer D - is a positive number. Compare criteria is |a - b| > D R - is a positive number. Compare criteria is |(b-a)/a| > R Modes of output: Default mode: print the number of differences found and where they occured -r Report mode: print the above plus the differences -v Verbose mode: print the above plus a list of objects and warnings -q Quiet mode: do not print output Return exit code: 1 if differences found, 0 if no differences, -1 if error Examples of use: 1) h5diff file1 file2 /g1/dset1 /g1/dset2 Compares object '/g1/dset1' in file1 with '/g1/dset2' in file2 2) h5diff file1 file2 /g1/dset1 Compares object '/g1/dset1' in both files 3) h5diff file1 file2 Compares all objects in both files Note) file1 and file2 can be the same file. Use h5diff file1 file1 /g1/dset1 /g1/dset2 to compare '/g1/dset1' and '/g1/dset2' in the same file If no objects [obj1[obj2]] are specified, h5diff only compares objects with the same absolute path in both files. The compare criteria is: 1) datasets: numerical array differences 2) groups: name string difference 3) datatypes: the return value of H5Tequal 2) links: name string difference of the linked value tested: linux, solaris
* [svn-r14616] #791 h5import: redirect help text to stdoutPedro Vicente Nunes2008-02-191-280/+280
| | | | tested: linux
* [svn-r14610] #368 (E1) h5import: add ability to import stringsPedro Vicente Nunes2008-02-196-7/+217
| | | | | | | | DONE NOW for 1.6, done previously for 1.8 RFC here http://bugzilla.hdfgroup.uiuc.edu/show_bug.cgi?id=368 tested: linux, solaris
* [svn-r14577] removed duplicated textPedro Vicente Nunes2008-02-131-9/+0
| | | | tested: linux
* [svn-r14576] aligned textPedro Vicente Nunes2008-02-131-667/+666
| | | | tested: linux
* [svn-r14575] formated textPedro Vicente Nunes2008-02-131-186/+157
| | | | tested: linux
* [svn-r14574] formated textPedro Vicente Nunes2008-02-131-239/+238
| | | | tested: linux
* [svn-r14573] aligned commentsPedro Vicente Nunes2008-02-131-2/+2
|
* [svn-r14570] typo fix in commentPedro Vicente Nunes2008-02-131-1/+1
|
* [svn-r14567] removed comments that were mistakenly transfered from 1.8Pedro Vicente Nunes2008-02-131-5/+0
| | | | | tested: linux
* [svn-r14561] more 1.6 h5repack a la 1.8Pedro Vicente Nunes2008-02-123-38/+3
| | | | tested: windows, solaris, linux
* [svn-r14560] remove one source filePedro Vicente Nunes2008-02-121-213/+0
|
* [svn-r14559] 2nd batch for h5repack 1.6 a la 1.8Pedro Vicente Nunes2008-02-123-181/+297
| | | | | | | | | 1) make the command line syntax same as h5dump, add long switch names 2) percentage printing bug in the copy code remove one unused source file tested: windows, linux, solaris
* [svn-r14558] remove commented codePedro Vicente Nunes2008-02-124-1220/+0
| | | | tested: windows, linux, solaris
* [svn-r14557] 1st batch of commits regarding making 1.6 h5repack like 1.8Pedro Vicente Nunes2008-02-127-8/+1558
| | | | | | | | | 1) have several global filters 2) do a check on the verify code about private filter values Note: some shuffle and szip private symbols were made public tested: windows, linux, solaris
* [svn-r14546] txtin32.txt and txtin16.txt actually contain the same data, so ↵Pedro Vicente Nunes2008-02-112-19/+1
| | | | | | just use one of them and remove the other from svn tested: linux, solaris
* [svn-r14543] some of the generated text input files were dynamically ↵Pedro Vicente Nunes2008-02-113-3/+36
| | | | | | | | | | generated by h5importtest on each test run, others were in svn and used from that location (don't know why the difference) per windows developer (SW) request made all the used text input files to be in svn the binary files are obviously dynamically generated by h5importtest on each run tested: linux, solaris
* [svn-r14532] removed commented unused codePedro Vicente Nunes2008-02-082-66/+1
| | | | tested: linux
* [svn-r14531] Bug fix:Albert Cheng2008-02-071-4/+4
| | | | | | | | | | | | | | | | Up (an IBM SP AIX machine) was failing the following test. Testing BINARY I8 CR LF EOF *FAILED* Fix: Pedro deduced it was because of AIX interprets a native char as unsigned while some other machines interprets it signed and the expected output to be so. Pedro sent me a fix for this problem and it worked for Up. Per Pedro's instruction, I am committing the fix directly from the machine zeus. (up does not have svn. Zeus, another machine at this site, supports svn.) Tested: Up.
* [svn-r14504] typo on "wb" instead of "w"Pedro Vicente Nunes2008-02-061-5/+2
| | | | tested: windows, linux
* [svn-r14503] removed a file that escaped the last purge; no mercy, take no ↵Pedro Vicente Nunes2008-02-061-12/+0
| | | | prisoners
* [svn-r14502] added more WIN32 macros for cases of opening binary files with ↵Pedro Vicente Nunes2008-02-061-72/+99
| | | | | | "wb" instead of "r" tested: windows, linux
* [svn-r14501] renamed the h5import test files to have the extensionsPedro Vicente Nunes2008-02-0633-32/+92
| | | | | | | | | | | | | | text input files = .txt binary input files = .bin configuration files = .conf hdf5 files = .h5 besides that in very test the files have the same name except extension. For example TOOLTEST txtin16.txt -c $srcdir/testfiles/txtin16.conf -o txtin16.h5 The convention for the test name is for example, for "txtin16" "txt" for text then "in16" means integer 16 size Tested: linux, solaris
* [svn-r14500] regenerate a filePedro Vicente Nunes2008-02-051-0/+9
|
* [svn-r14499] regenerate a file Pedro Vicente Nunes2008-02-051-9/+0
|
* [svn-r14498] bug fix: made the hdf5 file generated by bin8w test to have a ↵Pedro Vicente Nunes2008-02-052-0/+1
| | | | | | predetermined byte order, so that the cross platform tests pass between big and little endian machines tested: linux, solaris
* [svn-r14496] removed a file commited by mistakePedro Vicente Nunes2008-02-053-1/+3
|
* [svn-r14495] add the file bin8w.h5 for the new test to be removed on ↵Pedro Vicente Nunes2008-02-051-1/+1
| | | | cleaning along with the others h5s
* [svn-r14494] #971 (B2) h5import bug on Windows w/binary datasets. CLOSED. ↵Pedro Vicente Nunes2008-02-057-118/+254
| | | | | | fread in windows needs a binary file to be open with "rb" instead of "r" otherwise it terminates execution if an end of file character is found on the input file. Besides that the binary file generated needs to be open with "wb" , otherwise an end of line character is read twice. FOR 1.6 ONLY (To do for 1.8) tested: windows, linux, solaris
* [svn-r14423] Description:Quincey Koziol2008-01-152-2/+2
| | | | | | | | Change the 'coord' parameter for H5Sselect_elements() from 'hsize_t **' to 'hsize_t *' in this branch also. Tested on: Mac OS X/32 10.5.1 (amazon)
* [svn-r14329] Run make depend to regenerate all these Dependencies files afterAlbert Cheng2007-12-078-477/+97
| | | | removing the stream-vfd.
* [svn-r14322] Description:Albert Cheng2007-12-063-24/+3
| | | | | | | Removed the stream-vfd from the basic library code. Platforms tested: Kagiso (serial and parallel).
* [svn-r13959] Pedro Vicente Nunes2007-07-091-0/+0
| | | | | | remove a file that does not need to be in svn, since it is generated in the h5repack test program tested: linux
* [svn-r13950] purpose:Albert Cheng2007-07-061-2/+2
| | | | | | | | | cleanup Move binread to PROGS so that it will be removed by "make clean" too. Tested: In kagiso only since it was a trivial change.
* [svn-r13947] Description:Quincey Koziol2007-07-052-2/+2
| | | | | | | | | Make h5dump more gracious and informative about objects it doesn't understand. Tested on: Mac OS X/32 10.4.10 (amazon) No need for h5committest - very minor
* [svn-r13904] Purpose:Albert Cheng2007-06-251-43/+43
| | | | | | | | | | | | | | | | | | | | | | | | Bug fix. Description: The "h5dump -o ..." test generates temporay files in the testfiles of the source code and later on remove them. This could cuase a racing condition if more than one --srcdir build is using the same copy of the source code. Since they use the same file name in the testfiles, they may conflict with each other. Solution: Changed to generate the temporary files in the build-dir's own testfiles directory. Since the build-dir can have different names, the CMP of expected output now skip the first three lines which are label lines that contains the location of the temporary. Also removed the CREATE code since actual files created now cannot be blindly copied to the expect files. Also, expected files should be create by explicit action and careful inspection of files generated. Tested platform: Done in kagiso, both by --src-dir and in-place build.
* [svn-r13875] Pedro Vicente Nunes2007-06-184-10/+9
| | | | | | | | | | | | | | | | | Changed macro names, conflict with new compiler --changed DATASET to H5_TOOLS_DATASET -- changed DATATYPE to H5_TOOLS _DATATYPE -- changed GROUP to H5_TOOLS_GROUP In mingw's version of winsock2.h they define: typedef unsigned int GROUP; remove STORAGELAYOUT macro, it was not used tested: linux
* [svn-r13853] Pedro Vicente Nunes2007-06-121-2/+2
| | | | | | | | | the split and multi file tests in testh5dump.sh were commented out due to some failure in the pass with the pgcc compiler the failure does not happen anymore, activated the tests again tested kagiso pgcc, smirom pgcc, solaris
* [svn-r13844] Description:Quincey Koziol2007-06-081-31/+31
| | | | | | | Formatting cleanups Tested on: FreeBSD/32 6.2 (duty)
* [svn-r13809] Pedro Vicente Nunes2007-05-245-14/+50
| | | | | | Minor tunings to output verbose messages: when there is not a filter request do not print a message saying the filter was not apllied when the dataset was too small Tested:linux
* [svn-r13804] Pedro Vicente Nunes2007-05-244-3/+7
| | | | | | Early detection of no arguments, print usage and exit Tested: linux
* [svn-r13786] Pedro Vicente Nunes2007-05-222-10/+16
| | | | | | Clean temporary test files Tested: linux
* [svn-r13764] Pedro Vicente Nunes2007-05-184-22/+115
| | | | | | Modified the current h5dump test script to use h5import/h5diff calls to validate the binary output. At this moment it can only be used with the native test, since h5import does not deal with input endianess. tested: linux, AIX, solaris
* [svn-r13761] For future mingw support. _int64 cannot be recongized by mingw. ↵MuQun Yang2007-05-161-6/+6
| | | | | | | | So use __int64 instead. Since the change only involves windows compilers, h5committest is not needed. Compiled at linux.
* [svn-r13756] Pedro Vicente Nunes2007-05-161-0/+0
| | | | the new binary file for h5repack hyperslab I/O