summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r20491] Rename H5Frelease_file_cache to H5Fclear_elink_file_cache.Neil Fortner2011-04-131-3/+3
| | | | Tested: Fedora (too minor for full committest)
* [svn-r20487] Bug 1386 - allow dimension size to be zero even though it isn't ↵Raymond Lu2011-04-121-28/+54
| | | | | | | | | | | | unlimited. This is a follow-up checkin for r20440 and r20469: 1. The dataspace code has another bug - when the maximal dimension isn't passed in for H5Sset_extent_simple, it is supposed to be same as the dimension. The current library sets NULL to it. I corrected it and added a test case to it. 2. I corrected the tests of Fortran and C++ for this problem. Tested on heiwa, jam, and amani.
* [svn-r20480] Description:Quincey Koziol2011-04-122-5/+5
| | | | | | | | | | | Remove global variable for the path name in the group traversal code. Also clean up a bunch of compiler warnings. Tested on: Mac OS X/32 10.6.7 (amazon) w/debug & production FreeBSD/32 6.3 (duty) w/debug FreeBSD/64 6.3 (liberty) w/debug Solaris/32 2.7 (linew) w/debug
* [svn-r20475] Purpose:Mike McGreevy2011-04-111-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Revise shared Fortran library disabling scenarios in configure - Improve configure output summary Description: Shared Fortran libraries are not supported on Mac, but were being disabled by configure in a way that also forced the C libraries to be static-only. This has been fixed, so now only shared Fortran is disabled while shared C can remain. This prompted two additional changes: 1. While working on the check that addresses whether or not shared Fortran libraries are allowed, removed old and no longer needed check(s) that disable shared Fortran libraries with HP, Intel 8, PGI, and Absoft compilers. (Essentially, Mac is the only situation in which Fortran shared are disabled by configure.) 2. Having two different states of libraries (i.e. shared C library with static-only Fortran library) was not apparent in the configure summary, which labeled all libraries as either shared and/or static. I've added lines to both the C++ and Fortran output sections to list shared/static-ness of these libraries specifically. Additionally, I've made sure that the new --enable-unsupported configure option correctly overrides configure if it tries to disable a shared library. Tested: jam, fred, & h5committest
* [svn-r20469] Bug 1386 - allow dimension size to be zero even though it isn't ↵Raymond Lu2011-04-113-8/+65
| | | | | | | | | unlimited. This is a follow-up checkin for r20440: 1. I added a test case of extending dataset of zero dimension size and shrinking back to zero dimension size. 2. I updated the Makefile to include the new data file to be cleaned up. Tested on jam - relatively simple.
* [svn-r20462] The basic STDIO VFD test in test/vfd.c fails on 64-bit Solaris ↵Dana Robinson2011-04-101-0/+9
| | | | | | 5.10 (SPARC) and 32-bit Darwin 10.7.0 (Intel). This check-in skips the STDIO test on all platforms while we investigate. Bug report HDFFV-5936 filed in JIRA.
* [svn-r20459] Purpose:Dana Robinson2011-04-082-69/+324
| | | | | | | | | | | | | | | Progress on bug 2138 (bugzilla) / HDFFV-4298 (JIRA) Description: - Added basic VFD tests (i.e. cloned the SEC2 test) for the Windows, STDIO and log VFDs. - Added H5Pget_driver() sanity check to all VFD's tests. - Added log output file to list of files to clean up in Makefile.am. Tested on: - h5committest script platforms (jam, amani, heiwa) - Windows 7 (32- and 64-bit)
* [svn-r20453] Reordered two expressions to avoid integer overflow (quiets a ↵Dana Robinson2011-04-081-2/+2
| | | | compiler warning).
* [svn-r20440] Bug 1386 - allow dimension size to be zero even though it isn't ↵Raymond Lu2011-04-071-16/+530
| | | | | | unlimited. I added test cases for contiguous, compact, and chunked, and external storage datasets, and also attribute. The test includes dataspace selections. I'll handle the tools in the next step. Tested on jam, amani, and heiwa.
* [svn-r20438] Fix typo in lib name for mingwAllen Byrne2011-04-071-1/+1
|
* [svn-r20433] Implement MinGW changes to CMake configurationAllen Byrne2011-04-071-0/+3
| | | | Tested: local linux
* [svn-r20316] Removed includes which are included with proper config checks ↵Allen Byrne2011-03-241-5/+0
| | | | | | in h5private.h. Tested: local linux, windows
* [svn-r20315] brought revisions 19868:20300 from the 1.8.6_vms branch to the ↵Raymond Lu2011-03-246-4/+37
| | | | trunk for VMS work
* [svn-r20262] In my previous checkin (20255), I used H5Gcreate instead of ↵Raymond Lu2011-03-161-1/+1
| | | | | | | | H5Gcreate2 in my test. I just corrected it . Tested on jam.
* [svn-r20255] Bug 2115 - add H5_VERSION_GE and H5_VERSION_LE macros. I added ↵Raymond Lu2011-03-151-1/+68
| | | | | | a new test case to show how to use them. Tested on jam and amani.
* [svn-r20180] I added 2 public macros to the H5public.h - H5_VERSION_GE and ↵Raymond Lu2011-03-021-0/+49
| | | | | | H5_VERSION_LE - and put some test cases in tfile.c. Tested on jam, heiwa, and amani.
* [svn-r20153] Move ext lib handling for ext project building to a common ↵Allen Byrne2011-02-241-11/+11
| | | | | | macro. Update HDF5 project to use HDFMacros.cmake file. Add test properties for test ordering. Tested: local linux, windows
* [svn-r20141] Bring 1.8 r20139 cmake and windows changes to trunkAllen Byrne2011-02-221-1/+4
|
* [svn-r20121] Bug 1586 - the datatype handler created with H5Tencode/decode ↵Raymond Lu2011-02-181-11/+71
| | | | | | had the reference count 0. I fixed it by changing the APP_REF parameter of H5I_register from FALSE to TRUE and added a test case in dtypes.c. Tested on jam, heiwa, and amani.
* [svn-r20064] Purpose: Implement external file cacheNeil Fortner2011-02-085-52/+3723
| | | | | | | | | Description: Implements a cache of files opened through external links. Adds the public functions H5Pset_elink_file_cache_size(), H5Pget_elink_file_cache_size(), and H5Frelease_file_cache(). Tested: jam, amani, heiwa (h5committest), fedora 64.
* [svn-r20061] Description:Quincey Koziol2011-02-081-22/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bring changes from Coverity branch to trunk: r19930: Fix memory leaks involving VL attributes in h5repack and h5diff. The buffers in copy_attr and diff_attr were not checked for the presence of a vlen before being freed, and vlen storage was never reclaimed. Added checks and calls to H5D_vlen_reclaim(). r19933: Purpose: Fix memory leak in H5L_move_cb() Description: H5L_move_cb copied the source link using H5O_msg_copy() but freed it manually using H5MM_xfree(). Since H5O_link_copy allocates the link using H5FL_MALLOC, this causes the link to be allocated from the free list but is never put back on the free list when it is freed. This prevents the link free list from shutting down properly. Modified H5L_move_cb() and H5L_move_dest_cb() to free the link properly using H5O_msg_free(). r19973: Fix resource leaks by freeing string created by HD5f2string r19974: Issue #345: Inialize buf variable to null Tested on: Mac OS X/32 10.6.6 (amazon) w/debug & production (h5committested on Coverity branch)
* [svn-r20052] Description:Quincey Koziol2011-02-061-43/+89
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clean up Coverity warnings, and fix some style issues: r19735: Fix for memory leak in test/mf found by valgrind. r19736: Fix memory leak in h5repack. The buffer in copy_objects, when copying the entire dataset at once, was not checked for the presence of a vlen, and vlen storage was never reclaimed. Added check and call to H5D_vlen_reclaim(). r19772: Change H5assert() to if (H5T_VLEN != src->shared->type || H5T_VLEN != dst->shared->type) HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "not a H5T_VLEN datatype") r19774: removed unused priv. r19775: removed unused variables r19778: Fix memory leak comparing for variable length data types. r19834: Fixed memory leaks found by valgrind. Memory errors remain for another day. Tested on: Mac OS X/32 10.6.6 (amazon) w/debug & production (h5committested on branch)
* [svn-r20029] Purpose: Fix bug 2131Neil Fortner2011-02-025-112/+1296
| | | | | | | | | | Description: When using the scale-offset filter with floating point data or fill values, big endian machines would save some metadata in the wrong byte order. This caused such datasets to yield incorrect data when read on little endian machines. Fixed the scale-offset filter to always save this metadata in the right byte order (i.e. little endian). Tested: jam, amani, heiwa (h5committedt); fedora, linew
* [svn-r20027] I added some test cases for H5Oset(get)_comment and ↵Raymond Lu2011-01-311-0/+333
| | | | | | H5Oset(get)_comment_by_name. It's related to bug 2130. Tested on jam, amani, and heiwa.
* [svn-r20006] I updated the read buffer from float to double to be more ↵Raymond Lu2011-01-262-6/+8
| | | | | | appropriate. Tested on jam and linew.
* [svn-r19998] I changed the previous commit from FLOAT to DOUBLE again ↵Raymond Lu2011-01-265-15/+15
| | | | | | | | because Neil prefers to it for fill value test. I updated the data files, too. Tested on linew and jam.
* [svn-r19982] I changed the previous commit from DOUBLE to FLOAT because the ↵Raymond Lu2011-01-245-15/+15
| | | | | | | | bug (2131) happens to FLOAT only. I updated the data files, too. Tested on linew and jam.
* [svn-r19977] Bug 2131 - I added a test case for integer data. I also ↵Raymond Lu2011-01-215-29/+195
| | | | | | skipped the test case for double data because it still fails. Tested on jam and linew.
* [svn-r19972] I added a test case for dataset with scale-offset filter into ↵Raymond Lu2011-01-215-32/+252
| | | | | | cross_read.c and updated the data files from BE, LE, and VMS. Tested on jam and linew.
* [svn-r19907] Windows: Correct how fortran links in CRT library. Also correct ↵Allen Byrne2011-01-041-11/+11
| | | | | | macro use for checking libtype. bring r19906 from 1.8 branch
* [svn-r19895] Remove use of /MT compile flag for building static libs and ↵Allen Byrne2010-12-291-10/+0
| | | | programs. Added BUILT_AS_STATIC_LIBRARY define to set the windows import/export defines correctly for static libraries.
* [svn-r19839] Updated to libtool v 2.4, autoconf 2.68 and m4-1.4.15.Larry Knox2010-11-231-1/+4
| | | | Tested with h5committest on amani, heiwa, and jam.
* [svn-r19833] Bug fix - In the code of N-bit filter, one line (the last line ↵Raymond Lu2010-11-191-0/+383
| | | | | | | | | | | of H5Znbit.c in H5Z_nbit_compress - "*buffer_size = j + 1;" was mistakenly taken out by someone. It is necessary to update the new size. I put it back and made 2 test cases for integer and float to verify the correct dataset size. I'm bringing the fix from 1.8 branch. The changes to configure.in, tools/misc, config, Makefile.am are only property changes. Tested on jam. But I tested 1.8 on jam, heiwa, and amani.
* [svn-r19829] Fixed the name of the windows linkage define in the test ↵Allen Byrne2010-11-191-1/+1
| | | | | | | | header. This corrects the inconsistent dll linkage warning and matches the other linkage defines. Changed H5_DLLVAR to H5TEST_DLLVAR. Tested: windows
* [svn-r19823] BZ2013: Remove use of WIN32 defines. These two files were ↵Allen Byrne2010-11-181-5/+5
| | | | | | dependent on the winsock2.h header so changed WIN32 to H5_HAVE_WINSOCK_H. Tested: windows
* [svn-r19817] Bug 1917: Big.c test.Albert Cheng2010-11-171-43/+97
| | | | | | | | Changed the test to run Huge Dataset (tens of GB), Xtra large dataset(4GB big), Large dataset (2GB big), or merely 1GB big, depending on if the file system supports sparse file or if it supports larger than 32bigs I/O. Tested: h5committest, jam (serial), Windows (Bangan which is Windows 7, 32bits).
* [svn-r19813] 1. Correct mistake for previous checkin rev #19781:Vailin Choi2010-11-172-2/+2
| | | | | | | file name listed for DISTCLEANFILES should be testlinks_env.sh 2. Add comments to test_4() in test/external.c about the link name "/ link". 3. Fix memory leak as reported by valgrind in src/H5Lexternal.c: free memory pointed to by tmp_env_prefix for HDF5_EXT_PREFIX case.
* [svn-r19798] Purpose:Mike McGreevy2010-11-171-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | Add additional error checking to catch erroneous user input. Description: Attempting to retrieve a links's name by index in the case where the link is external and the file that the object is located in doesn't exist was causing a segmentation fault (in production) and an assertion failure (in debug). The segfault wasn't occuring until the metadata accumulator attempted a write, so I've added error checking higher in the pipeline in H5O_protect (where there was previously just an assert) to catch this. I've also added additional asserts in the H5F layer where there were none. Additionally, I added another case to the links.c test to test that this fails gracefully instead of segfaulting or asserting out. Tested: h5committest and gandalf (mac os x)
* [svn-r19796] Bug 2091: remove all Metraowerks compiler code bracheted by ↵Albert Cheng2010-11-161-1/+1
| | | | | | | | __MWERKS__. Metraowerks compiler is no more. Make the code cleaner. Tested: H5committest plus jam serial.
* [svn-r19795] Cleaned up some part of the code. It now works on all Unix and ↵Albert Cheng2010-11-161-36/+26
| | | | | | Windows 7 platforms.
* [svn-r19790] CMake: Correct Error tests. Add Deprecated Symbols option.Allen Byrne2010-11-161-16/+36
| | | | Tested: local linux
* [svn-r19783] Fix to the checkin for bug #1930.Vailin Choi2010-11-151-1/+6
|
* [svn-r19782] Fix CMake testing for links_env test which requires an ↵Allen Byrne2010-11-152-4/+45
| | | | | | | | environment variable at test run-time. Modified runTest.cmake file to allow optional ENV_VAR and ENV_VALUE to be passed. runTest.cmake requires a reference file, added links_env.out to testfiles folder. Also updated root CMakeLists.txt to output a message when unsopported options are configured with the PARALLEL option. CMake will still generate files. Tested: windows and local linux
* [svn-r19781] Fix for bug #1930:Vailin Choi2010-11-156-117/+261
| | | | | | 1) Move the test for H5D_EXT_PREFIX in links.c to a separate file: links_env.c 2) links_env.c will be used by testlinks_env.sh to test for the environmental variable H5D_EXT_PREFIX in searching for the external linked file.
* [svn-r19764] Updated NPROCS default value from 3 to 6.Albert Cheng2010-11-111-121/+223
|
* [svn-r19706] Added VFD test options.Allen Byrne2010-11-011-3/+68
| | | | Bring r19705 from branch
* [svn-r19702] Removed special fheap timeout - replaced by timeout set in ↵Allen Byrne2010-11-011-4/+0
| | | | | | | CTestConfig.ctest Added MemCheck Ignore tests for repeated tools tests Added Debug flag for windows
* [svn-r19697] Description:Quincey Koziol2010-10-291-0/+129
| | | | | | | | | Add another test for shutting down open object IDs without using the standard "close" routines. Tested on: Mac OS X/32 10.6.4 (amazon) w/debug & production (too minor to require h5committest)
* [svn-r19696] Bug 2008 - IBM Power6 Linux uses special conversion algorithms ↵Raymond Lu2010-10-281-0/+32
| | | | | | | | | | | to convert some values from long double to (unsigned) long and from (unsigned) long to long double. I added tests in configure.in to detect these algorithms. Before I can figure out them, I disable the tests in dt_arith.c. There are property changes to tools/misc, config, and Makefile.am when I brought the fix from 1.8. Tested on jam, heiwa, amani, IBM Power6 Linux machine in Holland (huygens.sara.nl).
* [svn-r19668] Description:Quincey Koziol2010-10-261-0/+19
| | | | | | | | | | Do some extra range-checking on H5Pset_elink_acc_flags() calls. Clean up some minor compiler warnings also. Tested on: Mac OS X/32 10.6.4 (amazon) w/debug & production (too minor to require h5committest)