summaryrefslogtreecommitdiffstats
path: root/tools/h5ls/testh5ls.sh.in
Commit message (Collapse)AuthorAgeFilesLines
* Update HDF5 1.8 copyright headers with updated copyright URL (#148)Larry Knox2020-12-041-1/+1
| | | | | | | * Update URL for COPYING file in copyright headers. * Make fortran copyright headers uniformly spaced. * Update url for Copyright file in c++/src/footer.html.
* CMake updates and mergesAllen Byrne2019-01-251-2/+9
|
* HDFFV-10188 Force non-native type descriptionAllen Byrne2017-08-231-1/+1
|
* HDFFV-10188 merge fix and tests from developAllen Byrne2017-08-231-0/+5
|
* Tools merge from develop-1.10Allen Byrne2017-05-171-20/+20
|
* HDFFV-9994 port changes from develop.Allen Byrne2017-01-181-26/+29
| | | CMake folder changes brought up to standard.
* [svn-r24393] Cleanup testfiles from scripts. Update lists of files to be ↵Allen Byrne2013-11-011-0/+16
| | | | | | cleaned. CMake update to clean testfiles. Tested: local cmake, autotools
* [svn-r22724] Convert tests to *.sh.in.Allen Byrne2012-08-281-4/+4
| | | | | | | | Convert configure.in to configure.ac. Align TESTS usage with autotools convention. Update all references from configure.in to configure.ac Tested: h5committest
* [svn-r22621] Purpose:Jonathan Kim2012-08-021-6/+17
| | | | | | | | | | | | | | | | 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. Merged from HDF5 trunk r22617. Tested: jam (linux32-LE), koala (linux64-LE), ostrich (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), some manual tests as well
* [svn-r22551] Merge changes from Trunk revision 22550 for:Allen Byrne2012-07-111-0/+3
| | | | | | HDFFV-4206, -7953, -5930, -2687, -5942 Tested: local linux with cmake
* [svn-r22113] Description:Quincey Koziol2012-03-211-16/+16
| | | | | | | | | | Bring r22112 from trunk to 1.8 branch: 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)
* [svn-r22099] Add reference file extensions in new tests.Allen Byrne2012-03-201-23/+20
| | | | | Remove "STAR" test as some platforms vary in interpretation. Add new tets to windows legacy test script
* [svn-r22088] HDFFV-7957(7958): Correct use of ERROR_STACK for h5dump and tools.Allen Byrne2012-03-191-12/+18
| | | | Tested: local linux after week in trunk
* [svn-r21866] Purpose:Jonathan Kim2012-01-061-0/+11
| | | | | | | | | | | | | | Fix for HDFFV-7838 h5ls: segfault for handling region reference in attribute with -v option Description: Segfault occurred when h5ls access region reference data in an attribute. This didn't occurred when -v option was used. The cause was "h5tool_format_t info;" struct variable members were accessed without proper values were assigned (was NULL), so printf failed later in the code. Merged from HDF5 trunk r21865. Tested: jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), , cmake-Windows (32-LE)
* [svn-r21064] Purpose:Jonathan Kim2011-07-011-6/+137
| | | | | | | | | | | Work for HDFFV-7602 - HDF5 command tools: Provide framework for reusable test files among tools Description: Merged from HDF5 trunk r21057 Provide framework to share test files among tools for tools test. Tested: jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE)
* [svn-r20928] Purpose:Jonathan Kim2011-06-031-3/+0
| | | | | | | | | | | | HDFFV-7607: h5ls - improve efficiency of test scripts - removing top 3 extra lines from expected output files Description: Merged from hdf5 trunk r20927. This is a subtask from 'HDFFV-7514 - gmqs: h5dump - improve effectiveness of testing scripts for handling expected output files'. This is prerequisite for 'HDFFV-7602 tools - upgrade tools' test scripts to share test files among tools, providing framework for test file re-usability.' Tested: jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE)
* [svn-r20772] Problem:Albert Cheng2011-05-071-83/+2
| | | | | | | | | | | | | | | | | 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.
* [svn-r20532] Blue-Gene port:Albert Cheng2011-04-151-1/+92
| | | | | | | | dawndev mpirun issued diagnose messages to stderr if program exit non-zero. The messages messed up the matching with expected output. Added a filter to screen out the messages. Tested: LLNL dawndev
* [svn-r20045] Fix bz2127 by dynamically allocating storgae for comments. Allen Byrne2011-02-041-0/+3
| | | | | | Bring 20044 from trunk Tested: local linux
* [svn-r19752] Purpose:Jonathan Kim2010-11-091-0/+6
| | | | | | | | | | | | | | | Fixed Bug# 1979 Output from h5ls -rdlS on nested compound datatypes is difficult to parse. Description: Update to add curly brackets for the nested compound members, when S (--simple) option is used with -l (--label), so user can tell which members blong to which compound type. Merged from hdf5 trunk r19751. Tested: jam (linux32-LE), amani (linux64-LE)
* [svn-r19053] Purpose:Jonathan Kim2010-07-071-0/+12
| | | | | | | | | | | | Add --no-dangling-links option to h5ls. Description: Related to "Bug 1830 - Following an dangling external link in h5ls should set non-zero return code." If --no-dangling-links option is specified and any dangling link is found, return exit code 1 (error). Merged from hdf5 trunk r19051 Tested: jam, amani, heiwa
* [svn-r18986] 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-r18946] Purpose:Jonathan Kim2010-06-021-6/+21
| | | | | | | | | | | | | Support follow symbolic links. Description: Merged from hdf5 trunk r18943. Add '--follow-symlinks' option to follow symbolic links (soft and external). Update help page according to RM. Remove some warning messages from compiler. Tested: jam
* [svn-r18643] Purpose:Jonathan Kim2010-04-271-1/+1
| | | | | | | | | | | Fix for Bug 1793 - h5ls on a non-existent file gives 0 return code Description: Merged from hdf5 trunk r18642. After the fix, h5ls returns 1 (EXIT_FAILURE) if non-existent file is given. Tested: jam
* [svn-r18053] Bug fix: 1192Albert Cheng2009-12-261-3/+9
| | | | | | | | Description: Fixed exit code (sometimes return code in Main) to follow the HDF5 standards. Tested: H5committested plus serial test in Jam.
* [svn-r16519] merge 16518 from trunkPedro Vicente Nunes2009-02-261-0/+198
have 2 expected outputs for 2 h5ls runs depending if run on a big or little endian machine. Configure.in was modified to export a variable carrying endianess information to testh5ls.sh. This script then compares the current run with 2 expected outputs, one for a big-endian machine (linew was used to generate the output), other for little endian (jam was used to generate the output) the way h5ls prints types, it starts searching for NATIVE types first. One solution would be h5ls not to detect these native types, using for example the same print datatype function that h5dump does, that would make the output look the same on all platforms ("32-bit little-endian integer" would be printed instead). Drawback, this "native" information would not be available. Other solution is to have not one but 2 expected outputs and make the shell script detect the endianess and compare with one output or other tested: jam, linew