summaryrefslogtreecommitdiffstats
path: root/hl/test
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r25399] bug fixes where a wrong type was used instead of hid_t.Mohamad Chaarawi2014-07-091-2/+2
|
* [svn-r25397] - remove configure checks for MPI_File_get_size and BigMohamad Chaarawi2014-07-071-1/+0
| | | | | MPI_File_set_size as they are supported by most MPI implementations. - fix bug in t_mpi.c (HDFFV-8856)
* [svn-r25197] Description:Quincey Koziol2014-05-171-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | Bring changes from hdf5_1_8_coverity branch back to trunk: r20878: Issue 76: Check if H5Tget_nmembers(type) fails and simply return(FALSE). Also move printf to after check. r20880: Issue 192: Create ret_val var set to -1. Add out label for failures to jump to, return ret_val at bottom. r20882: Fixes for coverity: 1) bug #1679: remove dead code in test/mf.c 2) bug #1680: remove dead code in tools/lib/h5diff_dset.c r20883: Fix coverity issue 585 Description: Changed variable "c" in processStrData in h5import.c to an int, to match fgetc return value, and removed call to feof, instead checking if c == EOF. Tested on: MacOSX/64 10.9.3 (amazon) w/C++, FORTRAN & parallel (too minor to require h5committest)
* [svn-r25117] Removed LT_ADD_LIBHDF5_DEPENDENCY configure conditional to roll ↵Larry Knox2014-04-251-1/+0
| | | | | | | | | | | back fix for removing rpaths from l ib files. The fix also removed dependencies on libhdf5, etc. when the --disable-sharedlib-rpath co nfigure option was invoked. Added instead configure variable hardcode_into_lib=no. This removes rpath from lib files on Linux and solaris machines. Tested with h5committest on jam, koala, ostrich and platypus (cmake), and with configure option --disable-sharedlib-rpath on emu, platypus and quail.
* [svn-r24948] Group tests by Common nameAllen Byrne2014-04-021-5/+5
| | | | | | Remove WIN32 AND NOT CYGWIN if blocks - should be just WIN32 Tested: local linux CMake
* [svn-r24937] Adds an H5free_memory() function to the library for use withDana Robinson2014-03-311-6/+6
| | | | | | | | | | | | functions that return library-allocated memory. The test and tool code were modified to use this new function where it's appropriate. Fixes HDFFV-7710, HDFFV-8519, and HDFFV-8551 Tested on: 64-bit Windows 7 w/ VS2012 32-bit LE linux w/ parallel and fortran (jam) 32-bit LE linux w/ fortran and C++ (jam)
* [svn-r24932] HDFFV-8290: Remove unnecessary $(srcdir) and use AM_CPPFLAGS ↵Allen Byrne2014-03-311-59/+493
| | | | | | instead of INCLUDES. Update automake to 1.14.1 h5committest
* [svn-r24869] Description:Quincey Koziol2014-03-231-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | Clean up more compiler warnings, plus merge a few Coverity bug fixes from the hdf5_1_8_coverity branch back to the trunk: r20877: Purpose: Fix coverity issue 1723 Description: Modified test_generate in hl/test_image to close file "f" before exit, even if an error occurs. r20879: Issue 63: change check of return of H5Tget_nmembers to <=0. No need to go futher if call fails as well as empty. r20881: Coverity #659 in Run 46: I changed the Line 442 where it tries to check whether FLAG_PRINTED is TRUE. But it had just been set to FALSE. I took out the condition check in the print statement. Tested on: Mac OSX/64 10.9.2 (amazon) w/C++, FORTRAN & Parallel (too minor to require h5committest)
* [svn-r24864] Description:Quincey Koziol2014-03-211-1/+0
| | | | | | | | | | | | | | | | | | Remove all traces of MPI-POSIX VFD and GPFS detection/code. Remove remaining traces of stream VFD. Remove testpar/t_posix_compliant test (it's not actually verifying anything). Clean up H5D__mpio_opt_possible() further. Moved environment variable that disables MPI collective operations into MPI-IO VFD (instead of it being in src/H5S.c). A few other small code cleanups. Tested on: Mac OSX/64 10.9.2 (amazon) w/parallel & serial
* [svn-r24804] Description:Quincey Koziol2014-03-161-10/+14
| | | | | | | | | | | | | | | | | | | | | | | | Brought changes from Coverity branch back to trunk, and cleaned up misc. other warnings & formatting issues: r20833: Fixed Coverity 667 and 668 with real integer overflow tests this time. r20834: Use HDstrncpy and HDstrncat. --gh r20835: Change to use strncpy - use base_len + 1 for line 156, use HDstrlen(path) + 1 for line 159 r20836: Fixed coverity 585 by casting output of fgetc() to a char. r20837: Changed sprintf calls to snprintf with size 1 less than the allocated buffer to address coverity issue #967. Tested on: Mac OSX/64 10.9.2 (amazon) w/C++, FORTRAN & parallel (too minor to require h5committest)
* [svn-r24789] Bump up the minimum cmake versionAllen Byrne2014-03-131-1/+1
|
* [svn-r24782] HDFFV-8700 -Allen Byrne2014-03-112-11/+11
| | | | KitWare recommendations: Change CMake commands to lower case.
* [svn-r24781] HDFFV-8700 -Allen Byrne2014-03-112-20/+20
| | | | | | | KitWare recommendations: Change CMake commands to lower case. Remove INCLUDE_DIRECTORIES in src for target level includes. Change ADD_DEFINITIONS package debug defines into CMake option. Remove -DNDEBUG
* [svn-r24392] Cleanup testfiles from scripts. Update lists of files to be ↵Allen Byrne2013-11-011-0/+3
| | | | | | cleaned. CMake update to clean testfiles. Tested: local cmake, autools, and h5committest
* [svn-r24376] Updated all code to use HDmalloc, HDcalloc, and HDfree.Dana Robinson2013-10-313-12/+12
| | | | | | | | | | | | | Prep work for adding a memory free function, part of HDFFV-8551. Tested on: 32-bit LE linux (jam) * with C++, Fortran * with thread safety on These are minor changes (almost entirely renaming foo functions to HDfoo) that don't change functionality. This should not require a full commit test.
* [svn-r24194] Don't add hdf5 library dependencies to lib files when ↵Larry Knox2013-09-241-0/+1
| | | | | | --disable-sharedlib-rpath configure option is invoked. Fix for HDFFV-8276. Tested with h5committest and on hdf-duck.
* [svn-r24030] Description:Quincey Koziol2013-08-191-1/+1
| | | | | | | | Clean up more compiler warnings. Tested on: Mac OSX/64 10.8.4 (amazon) w/gcc, C++ & FORTRAN (too minor to require h5committest)
* [svn-r24029] Move TESTS to seperate file to allow easier editing by all ↵Allen Byrne2013-08-192-60/+80
| | | | | | developers. Tested: local linux
* [svn-r24020] Description:Quincey Koziol2013-08-171-2/+2
| | | | | | | | Clean up compiler warnings Tested on: Mac OSX/64 10.8.4 (amazon) w/C++ & FORTRAN (too minor to require h5committest)
* [svn-r24011] Description:Quincey Koziol2013-08-151-1/+1
| | | | | | | | Clean up a few warnings Tested on: Mac OSX 10.8.4 (amazon) w/C++ & FORTRAN (too minor to require h5committest)
* [svn-r23985] Merge commit 23937 from reduce_warning branchJerome Soumagne2013-08-091-2/+1
| | | | | | Remove unused param (src) and unused var (hl) warnings Tested on koala
* [svn-r23745] HDFFV-8461: Add Windows /MT supportAllen Byrne2013-06-101-0/+2
| | | | This adds the UserMacros.cmake support needed.
* [svn-r23707] Vagrind memleak: bufferes only cleaned up if there was an error.Allen Byrne2013-05-151-0/+9
|
* [svn-r23695] Description:Quincey Koziol2013-05-111-54/+123
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clean up warnings in H5Tconv.c (down to _only_ 9000 lines of output now!) Merge changes from Coverity branch back to trunk: r20684: Fix for coverity bug #1721 which was due to the fix for coverity bug #943. r20685: Use HDstrncpy. --gh r20761: Purpose: Fix valgrind issues Description: Free image_data and data as appropriate in test_image. r20762: Purpose: Fix coverity issue 600 Description: Add check for return value of H5O_close in H5Ocopy. Also cleaned up various warnings. r20763: Purpose: Fix valgrind issues with h5stat Description: Modified h5stat to free "iter" before exit, and free "hand" before exit if parse_command_line exits directly. r20764: fixed coverity issues: 69, 327, 614, 684, 685, 696, 697, 1681, 967, 826, 660, 80 r20765: Fixed coverity bug 668 Pulled x * y * z multiply out of malloc operand into a separate n_elements variable to quiet integer overflow warning. No actual integer overflow tests are performed since it's just a test program but I did add a check that n_elements is >= 1. I also changed an error condition from doing its own close and returning -1 to "goto out;" like the rest of the program. r20766: Fixed coverity bug 667 Pulled x * y * z multiply out of malloc operand into a separate n_elements variable to quiet integer overflow warning. No actual integer overflow tests are performed since it's just a test program. Tested on: Mac OSX/64 10.8.3 (amazon) w/C++ & FORTRAN (h5committest upcoming)
* [svn-r23597] Description:Quincey Koziol2013-04-171-404/+290
| | | | | | | | | Bring r20683 from Coverity branch back to trunk: Isues 1309-1333: Changed strcpy/strcat to strncpy/strncat with maximum size expected. Tested on: Max OSX/64 10.8.3 (amazon) w/C++ & FORTRAN
* [svn-r23412] Add test depends on clear test. Occasional failures.Allen Byrne2013-03-211-0/+7
|
* [svn-r23305] HDFFV-8257: szip still used even if headers are not found. ↵Allen Byrne2013-02-181-1/+1
| | | | | | Change configure to test the result of the CHECK HEADERS call before checking for the library. Tested: local linux, h5committest
* [svn-r23241] Fix for: HDFFV-7596 H5DSget_scale returns size that includes ↵Scot Breitenfeld2013-02-111-4/+4
| | | | | | | | NULL termination and H5DSget_label returns size Updated tests. Tested: jam( gnu, intel)
* [svn-r23161] ported revisions 23146:23160 from the trunkRaymond Lu2013-01-141-1/+1
|
* [svn-r23149] I put more condition checks with macro when DEFLATE filter is ↵Raymond Lu2013-01-101-3/+4
| | | | | | disabled. Tested on koala.
* [svn-r23148] I added the macro condition check for the test of direct chunk ↵Raymond Lu2013-01-091-0/+2
| | | | | | write as it uses compress2 function. Tested on koala.
* [svn-r23147] ported revisions 23081:23145 from the trunkRaymond Lu2013-01-095-4/+4
|
* [svn-r23146] The test on Windows shows it doesn't have zlib.h. I added a ↵Raymond Lu2013-01-091-1/+7
| | | | | | macro condition to verify it before include it. Tested on koala.
* [svn-r23103] I changed the H5Dopen in hl/test/dectris_hl_perf.c and ↵Raymond Lu2012-12-141-4/+4
| | | | | | perform/dectris_perf.c to H5Dopen2. Tested on Koala.
* [svn-r23097] I changed H5Dopen to H5Dopen2 in test/dectris_tst.c and ↵Raymond Lu2012-12-131-5/+5
| | | | | | | | | | hl/test/test_dset_opt.c. I added hl/test/dectris_hl_perf.c perform/dectris_perf.c test/dectris_tst.c Tested on koala.
* [svn-r23082] I corrected an error for test_dectris.h5.Raymond Lu2012-12-061-2/+2
| | | | Tested on jam.
* [svn-r23079] I updated CMakefile for adding H5DO.c and H5DOpublic.h under ↵Raymond Lu2012-12-051-0/+2
| | | | | | hl/ directory. Not test.
* [svn-r23078] I took out O_SYNC flag from the code. I used it to do ↵Raymond Lu2012-12-051-5/+5
| | | | | | | | performance test. But we decided not to support it. Tested on koala.
* [svn-r23075] I revised the code and test according to Quincey's review. I ↵Raymond Lu2012-12-041-41/+852
| | | | | | also added more test cases. Tested on koala.
* [svn-r23019] I added dectris_hl_perf.c for testing performance.Raymond Lu2012-11-071-0/+643
| | | | Tested on koala.
* [svn-r23018] I forgot to add these new files in previous commit.Raymond Lu2012-11-071-0/+318
|
* [svn-r23017] I added a prototype function H5DOwrite_chunk in HL library for ↵Raymond Lu2012-11-073-13/+20
| | | | | | | | | Dectris people to test performance. The library's API function H5PSIdirect_write is still in. I reorganized the internal library by adding H5D__pre_write function. Tested on koala.
* [svn-r22987] ported revisions from 22742 to 22986 from the trunkRaymond Lu2012-10-292-2/+5
|
* [svn-r22709] HDFFV-8129: reconfigured on jam, Remove overloading of ↵Allen Byrne2012-08-231-15/+16
| | | | | | autotools TESTS var, rename configure.in to configure.ac, convert test scripts from hard *.sh to configure managed *sh.in files. Tested: h5committest
* [svn-r22706] Updated autotools: autoconf 2.69, automake 1.12.3, m4 1.4.16, ↵Larry Knox2012-08-221-52/+104
| | | | | | libtool 2.4.2 Tested THG machines.
* [svn-r22646] Description:Quincey Koziol2012-08-081-2/+5
| | | | | | | | | Changes resulting from Klocwork static analysis tool, from Mark Miller @ LLNL (miller86@llnl.gov). Tested on: Mac OS X/64 10.7.4 (amazon) w/debug, C++ & FORTRAN, using gcc 4.7.x (too minor to require h5committest)
* [svn-r22610] HDFFV-8055 H5TBdelete_record destroys data after the deleted rowScot Breitenfeld2012-07-271-1/+116
| | | | | | Added fix and test case. Tested: gnu and intel (jam)
* [svn-r22487] Snapshot version 1.9 release 122HDF Tester2012-06-241-3/+3
|
* [svn-r22484] Description:Quincey Koziol2012-06-231-3/+3
| | | | | | | | | | | | Copy the file image test file from the source directory to the build directory, instead of trying to open the [in-memory] file R/W. Also, clean up a few other test files that were left lying around from other tests. Tested on: MacOSX/64 10.7.4 (amazon) w/debug Too minor to require h5committest
* [svn-r22411] reduce compiler warnings by removing unreferenced variables and ↵Allen Byrne2012-05-251-1/+0
| | | | | | adding cast Tested: local linux