summaryrefslogtreecommitdiffstats
path: root/tools/h5copy/testh5copy.sh
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r22617] Purpose:Jonathan Kim2012-08-011-6/+18
| | | | | | | | | | | | | | | 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
* [svn-r21874] Purpose:Jonathan Kim2012-01-111-21/+12
| | | | | | | | | | | | | HDFFV-7602 - GMQS: HDF5 command tools: Provide framework for reusable test files among tools Stage2 working for h5copy tool. Description: Update cmake script to fetch test files from anywhere. Also keep the apperance similiar to shell script for better maintainance. some updated shell script. Tested: jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), Windows (32-LE), Cmake (jam)
* [svn-r21057] [hdf5 Trunk ] TODOJonathan Kim2011-06-301-24/+92
| | | | | | | | | | | Purpose: Work for HDFFV-7602 - HDF5 command tools: Provide framework for reusable test files among tools Description: Provide framework to share test files among tools for tools test. Tested: jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE)
* [svn-r20771] Problem:Albert Cheng2011-05-071-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | 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. --This line, and those below, will be ignored-- M tools/misc/testh5mkgrp.sh M tools/h5dump/testh5dump.sh.in M tools/h5diff/testh5diff.sh M tools/h5copy/testh5copy.sh M tools/h5ls/testh5ls.sh.in M MANIFEST A bin/output_filter.sh
* [svn-r20477] remove duplicated -f option from a test case script. Jonathan Kim2011-04-111-1/+1
| | | | jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE)
* [svn-r20254] Description:Jonathan Kim2011-03-151-2/+2
| | | | | | | | | h5ls is used to verify for the result, so change the two tests not to run h5diff like others. This is related to the previous checkin SVN r18398 for Bug#1733. Tested: jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), cmake (jam)
* [svn-r20203] Purpose:Jonathan Kim2011-03-081-0/+9
| | | | | | | | | | | | | Fix Bug 2120 - h5copy: improve to copy an object into same HDF file Description: Before the fix users can't copy an object (dataset or group) with different name if input file (-i) and output file (-o) is same. This feature would be useful to clone any object with different name and reuse contents. Tested: jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), Cmake (jam)
* [svn-r19633] Purpose:Jonathan Kim2010-10-181-24/+86
| | | | | | | | | | 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. Tested: jam, amani, heiwa
* [svn-r19605] Purpose:Jonathan Kim2010-10-151-79/+21
| | | | | | | | | | | Backout the previous changes (r19598): (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.)
* [svn-r19598] Purpose:Jonathan Kim2010-10-141-21/+79
| | | | | | | | | | 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. Expected to be failed. Tested: jam, amani, heiwa
* [svn-r19400] Purpose:Jonathan Kim2010-09-161-4/+4
| | | | | | | | | | Fix for Bug1975 h5diff - support recursive comparison on group when specified as an object Description: Compare member objects and groups recursively when two files or groups are specified to be compared. Support parallel diff and handling symbolic links accordingly. Tested: jam, amani, heiwa
* [svn-r18985] Test feature: (bugs 1919)Albert Cheng2010-06-081-1/+9
| | | | | | | | | | | | | | | | Problem: some launching command like yod (and sometimes mpirun), do not pass back the exit code of the executables back to the shell. It always returns 0 if it can launch the executable. This cause tests that expect non-zero exit code to fail incorrectly. Short term Solution: Added the feature that if $RUNSERIAL_NOEXITCODE is defined, do not test conditions that rely on non-zero exit code. Tests: dove-linux using RUNSERIAL=thgyod to see the failures and using $RUNSERIAL_NOEXITCODE=yes to bypass the errors. Also h5committested.
* [svn-r18650] Description:Quincey Koziol2010-04-271-0/+1
| | | | | | | | | | | | | | | | | | | Bring back various minor tweaks & cleanups from the revise_chunks branch. 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, in production mode Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN, in production mode Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in debug mode Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode
* [svn-r18614] Purpose:Jonathan Kim2010-04-221-8/+4
| | | | | | | | Fix for bug 1817 : h5copy fail to copy dangling link by specifying link path directly Tested: jam, amani, linew
* [svn-r18398] Description:Jonathan Kim2010-03-091-1/+60
| | | | | | | | add test cases for h5copy - copy external links with/without ‘–f ext’ option (relate to bug 1733) Tested: jam, amani and linew
* [svn-r18329] Description:Jonathan Kim2010-02-241-1/+1
| | | | | | | Fix to handle $srcdir for nightly test as well as local testing Tested: jam, amani and linew
* [svn-r18320] Forgot to remove comments for cleaning up test.out file from ↵Jonathan Kim2010-02-231-3/+3
| | | | previous checkin r18319.
* [svn-r18319] Purpose:Jonathan Kim2010-02-231-10/+41
| | | | | | | | | | | Bug1727 - h5copy: add test cases for object and region references File added: tools/h5copy/testfiles/h5copy_ref.out.ls tools/h5copy/testfiles/h5copy_ref.h5 Tested: jam, linew
* [svn-r18055] Bug fix: 1192Albert Cheng2009-12-261-4/+9
| | | | | | | | Description: Fixed exit code (sometimes return code in Main) to follow the HDF5 standards. Tested: H5committested plus serial test in Jam.
* [svn-r17606] Code Cleanup:Albert Cheng2009-10-071-10/+2
| | | | | | | | TFLOPS machine has retired long ago. Removed all code specific for its support. Test: h5committested.
* [svn-r15988] Merge with 1.8 up to rev 15871Pedro Vicente Nunes2008-10-291-5/+68
| | | | | | Regarding h5diff, h5copy Tested: linux
* [svn-r15251] Moved all h5copy testfiles from /tools/testfiles to ↵Pedro Vicente Nunes2008-06-201-1/+1
| | | | | | tools/h5copy/testfiles tested: linux
* [svn-r14261] bug fix: new syntax for the h5diff call in the h5dopy shell scriptPedro Vicente Nunes2007-11-141-2/+2
| | | | tested: linux
* [svn-r13914] Description:Quincey Koziol2007-06-261-0/+10
| | | | | | | Clean up files generated during testing. Tested on: Linux/32 2.6 (chicago)
* [svn-r13306] Description:Quincey Koziol2007-02-141-1/+4
| | | | | | | | | | | Mask off the storage utilization for the h5ls output, so that the h5ls output is more portable (VL datatype size is reported as the memory size instead of the file size, making the storage utilization incorrect - entered in bugzilla) Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r13303] Description:Quincey Koziol2007-02-141-1/+1
| | | | | | | | | Blank out the modification time, to eliminate another portability issue. Tested on: Linux/32 2.6 (chicago) FreeBSD/32 6.2 (duty) Mac OS X/32 10.4.8 (amazon)
* [svn-r13302] Description:Quincey Koziol2007-02-141-1/+1
| | | | | | | | Use the '-S' command line flag for h5ls, to make the output portable. Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r13301] Description:Quincey Koziol2007-02-141-26/+35
| | | | | | | | | | | Add '-p' flag to h5copy tool, to create intermediate "parent" groups that don't exist in destination file yet. Add more tests to h5copy script. Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r13299] Description:Quincey Koziol2007-02-141-10/+12
| | | | | | | | | | | | Put paths to testfile input & output directories in one place, making it easier to modify them if we choose to re-arrange our testfile locations in the future (this should probably be carried over to other test scripts). Make h5copy exit more cleanly if no command line parameters are given. Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r13297] Description:Quincey Koziol2007-02-141-6/+5
| | | | | | | | | | | | | | | | Add small 'h5mkgrp' tool to create groups in an HDF5 file from the command line, allowing the group structure for a file to be created in a script. This tool closely follows the 'mkdir' command line tool in UNIX/Linux. Allow tool library applications to pass a FAPL to the h5tool_fopen() call, giving some additional flexibility to tools which are adding objects to an existing HDF5 file (like h5copy & h5mkgrp). Fix missing files in MANIFEST from previous checkin(s). Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r13294] Description:Quincey Koziol2007-02-131-5/+22
| | | | | | | | | | | | Add empty & "full" groups to source HDF5 file and test copying them. Test renaming objects during copy Test specifying root group path for source & destination objects Tested on: Linux/32 2.6 (chicago) Too minor to require more tests
* [svn-r13293] Description:Quincey Koziol2007-02-131-18/+35
| | | | | | | | | | | Refactor h5copy testing script to abstract out some of the common behavior, obey the "HDF5_NOCLEANUP" environment variable, delete any output file left over from a previous run, add a "test variation" parameter to output file name for adding next sequence of test variations, etc. Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r13292] Description:Quincey Koziol2007-02-131-12/+64
| | | | | | | | | | | | | | | Add feature to h5copy to allow it to add an object to an existing file, instead of blowing away existing file. Modify h5tools_fopen() routine to take access flags, so it can be used to open an existing file for writing. Added check to h5copy test script that verifies it has produced a file with the correct structure. Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r13261] Updated copyright notices.Albert Cheng2007-02-071-2/+3
| | | | Tested: visual inspection as they are all just comments.
* [svn-r12772] Pedro Vicente Nunes2006-10-171-4/+8
| | | | added more tests for h5copy (compressed datasets, vl named datatypes )
* [svn-r12722] Pedro Vicente Nunes2006-10-051-2/+5
| | | | added new tests for h5copy script, generated in the test file generator program
* [svn-r12671] Pedro Vicente Nunes2006-09-181-1/+5
| | | | | | | added a test file generator program for h5copy, modified test script to use that file, added binary file to repo tested on heping, shanti
* [svn-r12665] Pedro Vicente Nunes2006-09-131-3/+5
| | | | added comments
* [svn-r12664] Pedro Vicente Nunes2006-09-131-17/+72
| | | | | modified the h5copy test script so that it calls h5diff to check the copied file/object
* [svn-r12626] Pedro Vicente Nunes2006-08-241-3/+2
| | | | | h5copy, new behavior according to RFC: introduction of -i, -o, -s , -d switches for file and object names
* [svn-r12522] h5copy was not able to find the source file because it was not ↵Albert Cheng2006-08-011-22/+21
| | | | | | | | | | | | | using the $srcdir properly. It is not right to chdir into testfiles and write files there because in real srcdir mode, one should not changes things in the srcdir area which could be shared by multiple builds simultanteously. Solution: added the proper $srcdir components to the source file name. Also clean up the indentation by cb. Tested: only by hand in heping.
* [svn-r12520] bug fixPedro Vicente Nunes2006-07-311-5/+9
| | | | | | added a call to h5tools_close tested: linux
* [svn-r12513] Pedro Vicente Nunes2006-07-281-6/+6
| | | | | new feature h5dump binary output. use little and big endian type conversions
* [svn-r12504] Pedro Vicente Nunes2006-07-271-6/+6
| | | | | | | | | | | | bug fix calling h5tools_get_fapl running the mpio driver caused H5FD_pl_copy to fail silently in some conditions. a MPI call was made before MPI_Init. solution: corrected the MPI call to be made after MPI_Init and added error return conditions to H5FD_pl_copy and h5tools_get_fapl tested on copper parallel, mir, shanti
* [svn-r12490] Pedro Vicente Nunes2006-07-211-6/+6
| | | | commented h5copy calls that are failing with mpicc compiler
* [svn-r12489] removed some whitespacePedro Vicente Nunes2006-07-211-12/+2
|
* [svn-r12486] added some tests to the h5copy shell scriptPedro Vicente Nunes2006-07-201-6/+24
| | | | tested: shanti, mir
* [svn-r12482] new tool h5copyPedro Vicente Nunes2006-07-191-0/+64
it uses the API function H5Gcopy to copy groups and datasets from file to file, read from a command line note: the test script is not finished yet tested on heping, copper, shanti