summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r25309] Bring revisions #24783 - #24851 from trunk to revise_chunks.Vailin Choi2014-06-1713-197/+170
| | | | Tested on jam, koala, ostrich, platypus.
* [svn-r25307] Bring revisions #24698 - #24783 from trunk to revise_chunks.Vailin Choi2014-06-1711-251/+256
| | | | Tested on jam, koala, ostrich, platypus.
* [svn-r25250] Bring revisions #24670 - $24698 from trunk to revise_chunks.Vailin Choi2014-06-102-3/+16
| | | | Tested on jam, koala, ostrich, platypus.
* [svn-r25242] Bring revisions #24505 - #24670 from trunk to revise_chunks.Vailin Choi2014-06-099-22/+10
| | | | Tested on jam, ostrich, koala, platypus.
* [svn-r24475] Description:Quincey Koziol2013-11-301-2/+4
| | | | | | | | Remove duplicate "intent" flags from top & shared file structures, leaving them only in the shared file structure. Tested on: Mac OSX/64 10.9.0 (amazon) w/gcc 4.8
* [svn-r24470] Merged from Chunksum branch.Albert Cheng2013-11-272-0/+0
| | | | POSIX Order Write Test report.
* [svn-r24457] Bring revisions #24333 - #24432 from trunk to revise_chunks.Vailin Choi2013-11-1924-329/+389
| | | | h5committested.
* [svn-r24454] Checkin for bug fix SWMR-11: used message file to coordinate ↵Vailin Choi2013-11-152-74/+90
| | | | | | | | | | | | | | | | | | test runs for h5watch. The changes were initially done as part of the file locking implementation. In addition, fixes for the following: A) Bug fix when enable-production in test/tfile.c-- --test_swmr_write(): use latest format in creating the test files B) Bug fixes to sync up with revise_chksum_retry branch: 1) test/accum.c--fix to use new_argv/new_envp for execve() and clean out compilation warnings 2) hl/src/H5HLprivate2.h--put the defines in alphabetical order 3) hl/tools/h5watch/h5watch.c--h5watch test exit code error due to error stack 4) hl/tools/h5watch/extend_dset.c--clean up some compilation warnings Tested on jam, ostrich, koala, platypus, emu, aix.
* [svn-r24444] Removed the need to include getopt.h which is already defined ↵Albert Cheng2013-11-141-1/+0
| | | | | | | | in POSIX.2. unistd.h includes getopt definitions. Test: h5committested--all passed except cmake which is expected.
* [svn-r24415] Merged 2414 from branches/revise_chksum_retryDana Robinson2013-11-071-52/+63
| | | | | | | | Fixed failure of dsets test when --enable-production is set. Fixes SWMR-12. Also fixed a few minor warnings in dsets.c. Tested on: jam (very minor test code change)
* [svn-r24337] Bring revisions #24200 - #24333 from trunk.Vailin Choi2013-10-214-42/+143
|
* [svn-r24336] Bring revisions #24118 - #24200 from trunk.Vailin Choi2013-10-212-0/+4
|
* [svn-r24330] Bring revisions 24098 - #24118 from trunk to revise_chunks.Vailin Choi2013-10-182-35/+37
| | | | h5committested.
* [svn-r24323] Created a user instruction for running the POSIX Order test.Albert Cheng2013-10-171-0/+94
|
* [svn-r24322] Removed the iteration (-i) option since it does not make sense ↵Albert Cheng2013-10-171-15/+4
| | | | | | | | | to for the writer process to rewrite the data file while the reader process may still be reading linked blocks of the previous iteration. Tested: koala
* [svn-r24295] Add the write order test here temporary.Albert Cheng2013-10-151-2/+24
| | | | | | Need to move it to a permenant place later. Tested: koala
* [svn-r24294] Add option parsing support to allow running with different ↵Albert Cheng2013-10-151-28/+144
| | | | | | parameter values. Tested: Linux (jam, koala, playpus, ostrich), Mac (duck), Solaris (emu)
* [svn-r24293] Bring revisions #24058 - #24098 from trunk to revise_chunks.Vailin Choi2013-10-151-1/+1
| | | | h5committested.
* [svn-r24278] Purpose: Block v-1 B-tree writes under SWMR write semanticsDana Robinson2013-10-107-47/+176
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Description: Modified the MD cache so that v-1 B-tree node writes are prohibited under SWMR semantics. Testing changes: testswmr Removed the -i b1 option from the test. NOTE: The testswmr.sh test performs operations that are not currently supported under our current level of SWMR implementation. links Modified an external link test so that a close/reopen w/ SWMR write test is not performed when the v-1 B-trees are used. dsets Chunk tests don't run when using SWMR and the old file formt (i.e. v-1 B-tree chunk indexes). Also added a new test that fails when trying to write v-1 B-tree nodes. Makefile updated to clean up all test files created by this test. flushrefresh Modified the test to use the latest file format. Tested on: jam (32-bit LE linux) koala (64-bit LE linux) ostrich (64-bit BE linux)
* [svn-r24096] A first implementation of the POSIX order tests.Albert Cheng2013-09-041-9/+274
| | | | Tests: passed in jam and koala.
* [svn-r24067] Creating the test program of order of writes.Albert Cheng2013-08-243-23/+102
| | | | | | | For now, it is just a dummy program. Checking it in so that I can check them out for my Mac laptop to work on offsite. Tested: koala
* [svn-r24064] Purpose:Dana Robinson2013-08-232-33/+67
| | | | | | | | | | | | | | Updates the use_append_mmchunks test to use the most recent file format. This switches the chunk index type from version 1 B-tree (which is not SWMR-safe due to the lack of a checksum) to extensible array. This fixes the SWMR-6 issue in JIRA. Also cleaned up the code a little so it compiles without warnings. Tested on: jam (32-bit linux)
* [svn-r24062] Bring revisions #24030 - 24058 from trunk to revise_chunks.Vailin Choi2013-08-232-167/+191
| | | | h5committested.
* [svn-r24061] Bring revisions # 24029 - 24030 from trunk to revise_chunks.Vailin Choi2013-08-224-426/+426
| | | | h5committested.
* [svn-r24060] Bring revisions #24002 - 24029 from trunk to revise_chunks.Vailin Choi2013-08-229-1279/+1282
| | | | h5committested.
* [svn-r24034] Bring revisions #23977 - 23984 from trunk to revise_chunks.Vailin Choi2013-08-205-3/+44
| | | | h5committested.
* [svn-r23959] Bring revisions #23745 - 23862 from trunk to revise_chunks.Vailin Choi2013-07-311-58/+58
| | | | h5committested.
* [svn-r23954] Bring revisions #23715 - 23745 from trunk to revise_chunks.Vailin Choi2013-07-311-0/+14
| | | | h5committested.
* [svn-r23948] Bring revisions #23670 - 23713 from trunk to revise_chunks.Vailin Choi2013-07-306-28/+17
| | | | h5committested.
* [svn-r23946] Bring revisions #23597 - #23670 from trunk to revise_chunks.Vailin Choi2013-07-304-10/+542
| | | | h5committested.
* [svn-r23852] Added a user instruction of the atomic test.DLS_20130630Albert Cheng2013-06-301-0/+48
|
* [svn-r23851] Bug fix: after printing usage for -h option, it should have ↵Albert Cheng2013-06-301-0/+1
| | | | | | | | | ended the program. Solution: added exit(0) after usage(). This is not a good fix but will work for now. Test: jam.
* [svn-r23848] Bug fix:Albert Cheng2013-06-291-1/+1
| | | | | | | | The script execute the program by just $program which will not work if the user does not have "." in the $PATH. Changed it to "./$program" to avoid this problem. Tested: koala.
* [svn-r23828] Fix 2 bugs for SWMR access:Vailin Choi2013-06-265-27/+418
| | | | | | 1) H5O_load() in H5Ocache.c: when reading a block that is > spec_read siez, read the whole block in again and possibly decode the header. 2) H5F_accum_write() in H5Faccum.c: for a large write that is >= H5F_ACCUM_MAX_SIZE, flush the metadata in the accumulator first before the write. Tests are added to test/ohdr.c and test/accum.c. h5committested.
* [svn-r23802] Added use case 1.9, Appending n-1 dimensional planes.Albert Cheng2013-06-211-0/+37
|
* [svn-r23792] Added use case 1.8, use_append_mchunks.Albert Cheng2013-06-181-66/+161
|
* [svn-r23777] Implement SWMR-5:Albert Cheng2013-06-151-1/+10
| | | | | | | | Replace H5Fflush in writer with H5Dflush and file close/reopen with H5Drefresh. Use cases seem to run faster. Keeping the old code so that later on, I may test the performance between the two. Tested: koala.
* [svn-r23775] Implement SWMR-5:Albert Cheng2013-06-145-788/+516
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implemented use case 1.9: Appending n-1 dimensional planes Adding the option "-y" which allows chunks to be thicker (more than 1 plane). This supports use case 1.9 which have chunks of multiple planes but writing is still appending one plane at a time. Using -y with "use_append_chunk", would provide the use case of writing a plane to a partial chunk. Using -y with "use_append_mchunks", would provide the use case of writing a plane to multiple partial chunks. Also added the option -n which specifies how many planes to write instead of the defaults of chunksize number of planes. This allows the final dataset to be other than a cube. test/use_append_mchunks.c: test/use_common.c: test/use.h: test/use_append_chunk.c: I also overhauled code in use_append_mchunks and use_append_chunk: 1. creating a set_parameter() to customize individual use case; 2. combine the create_uc_file(), read_uc_file() and write_uc_file() of both use cases appending one plane per chunks and one plane per multiple chunks. Moved these combined create/read/write functions into use_common.c to make future modification and maintence easier. test/test_usecases.sh.in: Added a simple test to demonstarte how to use -y to run use case 1.9. Tested: h5committest, except cmake, passed. Hand tested in Koala for various options.
* [svn-r23774] The standalone writer & reader tests that check atomic ↵Vailin Choi2013-06-144-21/+616
| | | | read-write operation on the system.
* [svn-r23760] Implement SWMR-5:Albert Cheng2013-06-124-8/+601
| | | | | | | | | | | | | | | | Implemented use case 1.8 program--SWRM read/write multiple chunks at a time. test/use_append_mchunks.c: The program. test/Makefile.am: test/Makefile.in: Added program use_append_mchunks. test/test_usecases.sh.in: Added simple tests for use_append_mchunks. MANIFEST: Updated for new file. Tested: h5committest, except cmake, passed. Hand tested in Koala for various options.
* [svn-r23757] Simple clean up--removed couple old commented line.Albert Cheng2013-06-121-2/+0
| | | | Tested: h5committested.
* [svn-r23750] Bug fix: SWMR-hh1 and SWMR-2Albert Cheng2013-06-101-3/+15
| | | | | | | | | | | | | | | When zlib is not available (use "configure --without-zlib"), some tests failed to not using compression features. Solution: test/dsets.c: Conditional blocked out use of zlib compression code. tools/h5ls/testh5ls.sh.in: Temporary commented out test code that uses datafile that has zlib compressed data. Tested: h5committest (cmake does not work but that is ignored for now.) Also, hand tested in koala using "configure --without-zlib".
* [svn-r23730] Fixed a typo (size should be 256) and some formatting.Albert Cheng2013-06-021-11/+14
|
* [svn-r23729] First edition of User Guide of SWMR Use Case programs.Albert Cheng2013-06-021-0/+88
|
* [svn-r23728] Updated the comments of create, write, and read process.Albert Cheng2013-06-021-7/+8
| | | | Tested: koala.
* [svn-r23727] Added test/test_usecases.sh for testing use cases.Albert Cheng2013-06-023-3/+125
| | | | Tested: h5committest.
* [svn-r23726] Changed use case programs to more descriptive names.Albert Cheng2013-06-015-21/+25
| | | | | | | | | | usecase1_7.c -> use_append_chunk; usecase_common.c -> use_common.c; usecase.h -> use.h. MANIFEST updated with new names. Tested: h5committest.
* [svn-r23725] Added two new features:Albert Cheng2013-05-313-64/+136
| | | | | | | | | | | 1. "-f filename" can create the test file somewhere other than the current directory or <progname>.h5. This allows running tests in different filesystems, for example. 2. "-l w|r" can launch only the writer or the reader (default does both). This allows launching writer (includes the "create file") in one process and launching the reader somewhere else. (The "-f" helps too.) Tested: h5committested.
* [svn-r23724] Add use case 1.7--SWRM read/write one chunk at a time.Albert Cheng2013-05-315-6/+699
| | | | Tested: h5committest.
* [svn-r23601] Bring revisions #23341 - 23597 from trunk to revise_chunks.Vailin Choi2013-04-1911-100/+1482
| | | | h5committtested.