summaryrefslogtreecommitdiffstats
path: root/bin/snapshot
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r7179] Purpose:HDF Admin2003-07-071-5/+5
| | | | | | | | | | | | | | Bug fix Description: If the base directory (.../snapshot-...) does not exist yet, the runtest and snapshot will continue on till it bumped into a "wall". Solution: Added verification that the BASEDIR does exist.
* [svn-r6572] Purpose:Albert Cheng2003-04-021-6/+5
| | | | | | | | | | | | | | | | | bug fix. Description: It checked on the CVSROOT setting even when no cvs is needed. Solution: Moved the verification inside the checkout code so that the CVS settings are checked when it is needed. Platforms tested: Eirene--this is invoked by bin/runtest. Platform tests do not apply here. Misc. update:
* [svn-r6225] Purpose:Albert Cheng2003-01-021-3/+7
| | | | | | | | | | Bug fix Description: SGI shell treats $0 as function name if used in a function. Set the name here to avoid that ambiguity and better style too. Platforms tested: Just in modi4 and burrwhite since it is a shell script and the change is machine independent.
* [svn-r6146] Description:Albert Cheng2002-12-031-0/+8
| | | | | | | added a command so that snapshot prints a message before exiting. Platforms tested: eirene
* [svn-r6092] Purpose:Albert Cheng2002-11-141-8/+29
| | | | | | | | | New feature Description: Added TIMESTAMP and event markers. Easier to tell the chronical events. Turned of echo mode. Added an option to turn it on. Platforms tested: Only in eirene.
* [svn-r5621] Purpose:Albert Cheng2002-06-131-15/+29
| | | | | | | | | | feature Description: Removed the search of HDF4 library specifically. Replaced the locate_hdf4 with a more general locate_sw. Added the search of zlib. Platforms tested: eirene and all hdf group machines.
* [svn-r5068] Purpose:Albert Cheng2002-03-181-1/+1
| | | | Updated the help message to include the diff option.
* [svn-r5055] Purpose:Albert Cheng2002-03-081-2/+17
| | | | | | | | | | | New feature Description: "snapshot diff" will just run the diff and exit 0 is no significant differences found between current and previous versions. Runtest will try a "snapshot diff" and will skip test if no significant differences are found. Platforms tested: eirene
* [svn-r5034] Purpose:Albert Cheng2002-03-061-1/+6
| | | | | | | | | | New feature Description: Replacing the hardcoding of default version for snapshot test to a file, bin/snapshot_version. This way, runtest and snapshot can be version neutral. Makes maintenance easier. Platforms tested: eirene.
* [svn-r5026] Purpose:Albert Cheng2002-02-281-1/+2
| | | | | | | | | | Bug fix Description: check-install was on the same make line with install. They got run in parallel. Run check-install as a separate make action after make install is completed. Platforms tested: Eirene
* [svn-r5020] Purpose:Albert Cheng2002-02-271-2/+1
| | | | | | | | | Feature Description: Use the new target of check-install instead of previous hand-made commands. Platforms tested: eirene.
* [svn-r5000] Purpose:Albert Cheng2002-02-221-0/+1
| | | | | | | | | | | | | | New feature Description: The examples have been changed to use the installed h5cc to do the compiling. Added a step in the "test" part to "cd examples; gmake check" which will test against the installed software. A more proper way is to create a "check-install" target to test other installed software besides the C API, such as the Fortran API. Platforms tested: eirene
* [svn-r4682] Purpose:Albert Cheng2001-12-061-0/+10
| | | | | | | | | | | | | | Bug fix Description: A a build had occurred in the source tree ($CURRENT) and did not do a distclean, the left over files would interfere with srcdir build. Solution: Added a "make distclean" in the "checkout" option to clean up the $CURRENT just in case. Not necessarily the most optimal spot to do the cleaning but convenient. Platforms tested: Eirene.
* [svn-r4672] Purpose:Albert Cheng2001-12-051-1/+2
| | | | | | | | | | | | | | | | | | | | | Bug fix Description: Snapshot does "make check" directly, instead of building all binary first. This means it does not cover code that are not tested (e.g., example, perform). (That explained why the errors in the PIO performance code were not reported in daily test but blew up when people built the library the "normal" way.) It is done this way so that the snaptest aborts as soon as the first test failed rather than after all code are compiled. Solution: Add "make" (to build all binary) before "make check". The allows snaptest to fail as soon as the first compiling failure. If we wish the snaptest to abort on the first test failure, the two can be swapped as "make check && make ...". (It would appear strange to run tests then make binary.) Platforms tested: Would be tested in the daily test tonight. (I should have tested it first but I started this commit process already. Sorry.)
* [svn-r4513] Purpose:Albert Cheng2001-10-021-1/+8
| | | | | | | | | | | | | feature Description: Recognize command line argument in the form of '--*' as a configure command option by default. Since all normal configure options are in the form of '--*', this will simplify the "op-configure <option>" syntax. The latter syntax is still kept in case one would want to pass in some configure argument that does not fit this syntax. Platforms tested: Eirene.
* [svn-r3812] Purpose:Albert Cheng2001-04-131-6/+15
| | | | | | | | | | | | | Improvement Description: The DIFF used to keep running after detecting significant code changes. This was done in order to see all changes but no one seems to look at the diff any more. So, let it end the DIFF cycle once it determines there are enough differences for a new test. Added "install install-doc uninstall uninstall-doc" to the test cycle. Platforms tested: Eirene, gondolin, modi4
* [svn-r3555] Purpose:Albert Cheng2001-03-081-1/+6
| | | | | | | | | | Code improvement Description: Changed it so that $H5VERSION determines which version of hdf5 code to do cvs checkout and to test, making it easier to handle new versions. Platforms tested: run simple test to make sure it did generate the right command.
* [svn-r3515] Description:Albert Cheng2001-02-251-1/+3
| | | | | | | Move the printing of command argument to the beginning of the shell with banners around for easier identification. Platforms tested: Eirene
* [svn-r3336] Purpose:Albert Cheng2001-01-311-4/+5
| | | | | | | | | | | | | | Simple twist Description: snapshot used to just use whatever `hostname` returns. Often it is the fully qualified name but sometimes just hostname without the domain part. Inconsistent. Solution: Chopped off any domain part and use just the host name. Use the 'cut' command rather than the sed with ncsa.uiuc.edu hardcoded. Applied that to runtest too. Platforms tested: Should work. Will find out if the daily tests still work.
* [svn-r2424] snapshot needs a version of diff that supports the -I (ignore ↵Albert Cheng2000-07-021-2/+9
| | | | | | | | | | | | pattern) option. A system may have several versions of diff (e.g., vendor's and Gnu's). Added codes to try them all until finding one that supports it. If found, use it; else stick with plain "diff" and may waste time when there are no differences besides the ignorable patterns. Platforms tested: Solaris 2.7, Redhat 6.2
* [svn-r2106] Changed the BASEDIR name to the form of $HOME/snapshots-${H5VERSION}Albert Cheng2000-04-101-1/+2
| | | | | | so that it is the same as the released version and allows easy appendix of version number. For the development branch, $H5VERSION is just "hdf5", representing the current version of the main=truck.
* [svn-r2049] Added the "clean" and "distclean" option for cleaning the test ↵Albert Cheng2000-03-231-0/+35
| | | | | | directory. This would help clean disk usage after the daily test is done.
* [svn-r2024] Added comments why the replacement of PREVIOUS should process evenAlbert Cheng2000-03-131-0/+3
| | | | if the overall release process has an error.
* [svn-r1984] Use one big cat to the help message (instead of the old way of echo)Albert Cheng2000-02-221-23/+29
| | | | because the messages are getting really big (my fault).
* [svn-r1983] Added two new options.Albert Cheng2000-02-221-9/+44
| | | | | | | | | | srcdirname <dir>: Use <dir> as the srcdir testing directory if srcdir is choosen. If <dir> starts with '-', it is append to the default name E.g., "snapshot srcdir srcdirname -xx" uses hostname-xx [Default is hostname] op-configure <option>: Pass <option> to the configure command
* [svn-r1935] A minor editing of the help messages.Albert Cheng2000-01-071-2/+2
|
* [svn-r1929] Added the srcdir option to support concurrent tests by differentAlbert Cheng2000-01-051-14/+32
| | | | | | | | | hosts. Below is the help output for srcdir. srcdir: Use srcdir option (does not imply other commands)" "snapshot srcdir" is equivalent to "snapshot srcdir all" "snapshot srcdir checkout" is equivalent to "snapshot checkout" Also used shell variables to hold directory paths for easier maintenance.
* [svn-r1855] Use the user MAKE if that has been set.Albert Cheng1999-12-031-3/+6
|
* [svn-r1829] Did a make distclean in the test stage to clean away previous tests.Albert Cheng1999-11-041-1/+10
| | | | Changed _test to check which is the proper name for the testing target.
* [svn-r1826] Got rid of old commented out commands.Albert Cheng1999-11-041-10/+5
| | | | Added uname to show host information automatically.
* [svn-r1790] Removed the tag of the snapshot version. The tagging created a longAlbert Cheng1999-10-251-1/+1
| | | | list of tags no one ever used.
* [svn-r1643] Tweaks to run on baldric better.Quincey Koziol1999-09-221-4/+8
|
* [svn-r1430] Fixed some dumb typos.Albert Cheng1999-07-061-3/+3
|
* [svn-r1424] Pulled CVS checkout codes to form a new partition of checkout thatAlbert Cheng1999-07-061-18/+36
| | | | | | | | does cvs checkout only. Moved the "make distclean" code from the "test" to the "release" part. (A distclean should definitely be applied as part of the release command. Also, test might fail for other silly reason, like AFS temporary out. The distclean blew away the option of trying the tests by hand.
* [svn-r1421] Divide the whole script into two parts, test and release, so ↵Albert Cheng1999-07-041-53/+139
| | | | | | | | | | | | | | | | that the two tasks can be done selectively. This is mainly to allow doing the test without running the release part automatically. After this is tested out more to work fine, the "cvs checkout" part will be pulled out also, so that it is possible to stage the cvs checkout during the daytime when user is around to provide the AFS token. The test part can be done at night by cron, provided the latest source has been "staged". Following a successful test, the user can do the release part by hand later, again with AFS tokens. Also added options for using different locations of HDF4 library and the ARCHIVE areas. Making it useful for different machines setup.
* [svn-r1358] Update the ftp site to the AFS area.Albert Cheng1999-06-171-1/+4
| | | | Added in the exit-on-error mode to abort cvs commit if errors encountered.
* [svn-r1354] Robb Matzke1999-06-161-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes since 19990615 ---------------------- ./README Version number synchronized with library. ./bin/h5vers If the version number of the library is changed then the first line of the README file is also changed to something like This is hdf5-1.2.3 currently under development The `release' script (which also gets run by `snapshot') changes that line to include the release date but keeps the version number the same. The net effect is that the version numbers in README and H5public.h should now always stay synchronized. ./bin/snapshot The CVS checkin comment includes the version number for the snapshot that was just made. ./tools/testh5toh4 Changed `*-SKIP-*' to `-SKIP-' to be consistent with the other tests.
* [svn-r1345] Changed it to use perl to execute the perl scripts than toAlbert Cheng1999-06-151-7/+5
| | | | | rely on invoking the script files themselves. Tested on fuga (IRIX 6.5).
* [svn-r1313] Neither SGI nor Solaris allows an empty 'then' body.Albert Cheng1999-06-081-5/+2
| | | | | Changed it to conditional statements. Tested fine in SGI and Solaris.
* [svn-r1108] Changes since 19990225Robb Matzke1999-02-261-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ---------------------- ./INSTALL Added warnings and a disclaimer about GNU, DEC, Irix64, and NT compilers that generate incorrect machine code. ./configure.in ./src/H5private.h Detects and includes <sys/param.h> which is needed on FreeBSD before <sys/proc.h> even though we only really using anything from <sys/proc.h> on the DEC Alpha. ./config/irix64 Turned off warnings for duplicate definitions from the linker because -lnsl on irix has the same stuff in it as -lc. ./config/irix6.x Split up the CC and CFLAGS settings like with irix64 so that compilers besides `-n32' can be used. ./bin/snapshot The snapshots are tagged with names like hdf5-1_1_52 which is similar to the way the releases are tagged (cvs doesn't allow dots in tags). ./test/dtypes.c ./src/H5private.h ./src/H5Tconv.c Fixed some alignment violations on the DEC when using high optimization levels. The DEC incorrectly optimizes certain memcpy() and memmove() calls when the source argument is not word aligned if the call looks like it's copying an atomic data type. ./test/hyperslab Worked around code generation bugs in the Irix64 Mongoose 7.00 compiler by casting some `unsigned long' values to `unsigned' in an expression. ./src/H5Ocomp.c Fixed a place where %d was used to print a size_t.
* [svn-r1105] Removed flag which was stopping the HDF4 library from being ↵Quincey Koziol1999-02-251-1/+1
| | | | | | tested, now that I've rolled back the installed library on hawkwind to HDF4.1r2.
* [svn-r1080] Disabled detection of hdf4 during the configuration because hawkwindRobb Matzke1999-02-181-1/+8
| | | | has old enough hdf4 libraries that the h5toh4 test always fails.
* [svn-r876] Changes since 19981102Robb Matzke1998-11-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ---------------------- ./bin/snapshot Made same fix as for the release script yesterday. ./src/H5D.c ./src/H5Dprivate.h ./src/H5G.c ./src/H5Gprivate.h ./src/H5Gpublic.h ./src/H5O.c ./src/H5Oprivate.h ./src/H5RA.c ./src/H5RAprivate.h ./src/H5T.c ./src/H5Tprivate.h Improved object type checking. Instead of determining the object type by trying to open each of the possible types, we keep a table of associations between object type number (like H5G_GROUP, H5G_DATASET, H5D_TYPE, and H5D_RAGGED) and an `isa' function that returns true if the object header has the right messages to make the object a particular type. This mechanism also allows specialization of object types by permitting an object to satisfy more than one `isa' function. Added `isa' functions for groups, datasets, ragged arrays, and committed data types. ./src/H5config.h.in Added HAVE_STAT_ST_BLOCKS. I thought this had already been added, but apparently not. ./tools/h5ls.c Removed system include files since they're already included by H5private.h and since I wasn't including them portably anyway. By default, 1-byte integer types are printed as integer values instead of ASCII characters. However, the `-s' or `--string' command-line switch causes the data to be interpretted as ASCII. String data types are always printed as character data. Ragged arrays are now identified as ragged arrays and h5ls doesn't descend into the group automatically. This uses the new object type specialization stuff. ./tools/h5tools.c ./tools/h5tools.h Added the ability to print 1-byte integer types as either ASCII or numeric data instead of always ASCII. The default is to print as numeric data.
* [svn-r671] Changes since 19980904Robb Matzke1998-09-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ---------------------- ./MANIFEST ./bin/release ./bin/snapshot The format of the MANIFEST file has been relaxed -- comments and blank lines should no longer confuse the tools that use it. As before, this file should contain a list of *all* files that are part of HDF5, which means all files which are managed by CVS/SVF. However, files can be marked so they're not part of a release by adding _DO_NOT_DISTRIBUTE_ after the file name. I've removed all the *.obj files from the distribution by adding _DO_NOT_DISTRIBUTE_ after their names. I also removed the old white-papers that might not apply to the current version of the library and documentation about chunking performance since it's wrong now that chunk caching is implemented. Everyone please check the files you're responsible for to make sure that they should really be part of a release. To get a list of all files use grep '^\.' MANIFEST | cut -f1 To get a list of files for distribution use: grep '^\.' MANIFEST | grep -v _DO_NOT_DISTRIBUTE_ (These commands assume tabs in the MANIFEST file. If the file might contain spaces then run it through `unexpand' or `tr' first). ./configure.in ./configure ./test/ragged.c Check for sigaction(). ./test/Makefile.in The `clean' target removes the timing tests.
* [svn-r620] Changes since 19980825Robb Matzke1998-08-271-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ---------------------- ./MANIFEST ./src/H5R.c [NEW] ./src/H5Rprivate.h [NEW] ./src/H5Rpublic.h [NEW] ./src/Makefile.in ./src/hdf5.h ./test/ragged.c [NEW] Preliminary support for 2d ragged arrays for Mark Miller and Jim Reus. Not fully implemented yet. The test is not actually part of `make test' because we still have some memory problems. ./src/H5E.c ./src/H5Epublic.h Added H5E_RAGGED as a major error number. ./bin/release Checks the MANIFEST file against `svf ls' on systems that have it. ./bin/trace Fixed a bug that caused arguments of type `void *x[]' to not be handled. ./src/H5.c Removed unused variables and changed a couple types to fix compiler warnings. Added tracing support for ragged array object ID's and arrays of pointers. ./src/H5D.c H5Dcreate() will complain if either of the property lists are invalid (instead of using the default). ./src/H5D.c ./src/H5Dprivate.h Split H5Dget_space() into an API and internal function so it can be called from the new ragged array layer. ./src/H5Fistore.c Fixed warnings about unsigned vs. signed comparisons. ./src/H5Flow.c Fixed a warning about a variable being shadowed in the MPI-IO stuff. ./src/H5Iprivate.h ./src/H5Ipublic.h Added the H5_RAGGED atom group. ./src/H5Shyper.c Fixed some freeing-free-memory errors that resulted when certain arrays were freed but the pointers were left in the data structures. I simply set the pointers to null after they were freed. ./src/H5Sprivate.h ./src/H5Sselect.c Split the H5Sselect_hyperslab() function into an API and a private function so it could be called from the ragged array layer. Added H5S_SEL_ERROR and H5S_SEL_N to the switch statements to get rid or compiler warnings. ./src/H5Tconv.c Removed a misleading comment. ./test/bittests.c Fixed a warning about a printf(). ./test/cmpd_dset.c Fixed warnings about unused variables because of test #11 being commented out. ./bin/trace Shortened the right margin for the output to allow room for the `);' at the end of the TRACE() macros.
* [svn-r601] Changes since 19980814Robb Matzke1998-08-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ---------------------- ./src/H5Fistore.c Fixed a bug that caused the wrong number of chunk offsets to be read or written from the file. ./src/H5Z.c Fixed a memory bug. ./test/dtypes.c Removed redundant tests. ./bin/snapshot Removed Perl code from a shell script. Oops :-) ./src/H5D.c Removed cvs merge conflicts. ./src/H5Omtime.c Fixed a typo in the Irix5.3 code. ./src/H5S.c Fixed a memory leak. ./src/H5Shyper.c Fixed a bad call to malloc() that didn't allocate enough memory. Reordered a comparison to eliminate an array bounds read error.
* [svn-r588] Changes since 19980810Robb Matzke1998-08-131-9/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ---------------------- ./MANIFEST ./src/H5Ssimp.c [REMOVED] ./src/Makefile.in Removed H5Ssimp.c since it was no longer used. ./bin/snapshot Fixed a few minor things to make it work better. ./src/H5D.c Cleaned up H5D_read() and H5D_write() by combining some code in each. Added timing calls around the data space calls when H5S_DEBUG is defined. ./src/H5S.c ./src/H5Sall.c ./src/H5Shyper.c ./src/H5Spoint.c ./src/H5Sprivate.h Changed H5S_find() so it returns a table entry again instead of copying the data into a caller-supplied buffer. This allows the timers to be stored in the table and updated by the caller. Added H5S_register() to register new table entries and added entry creation to all the H5S selection methods. Also changed lots of global functions to static functions. ./src/H5Fistore.c Fixed a memory bug in the raw data cache.
* [svn-r584] Changes since 19980806Robb Matzke1998-08-101-11/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | ---------------------- ./doc/html/Datatypes.html ./doc/html/H5.format.html ./src/H5.c ./src/H5Odtype.c ./src/H5T.c ./src/H5Tconv.c ./src/H5Tpkg.h ./src/H5Tpublic.h ./test/dtypes.c Changed the values of the H5T_str_t type in order to make a distinction between C's null terminated strings and strings which are not null terminated. The string character set and padding method are saved to the hdf5 file instead of using defaults. Added conversion function from one fixed-length string type to another. ./test/chunk.c Fixed to work with new filter API
* [svn-r569] Changes since 19980731Robb Matzke1998-08-051-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ---------------------- ./bin/release Added ./Makefile to the distribution again -- it got lost in the changes last week although it isn't all that important a file since it gets clobbered by configure anyway. ./bin/trace ./doc/html/Filters.html ./doc/html/H5.format.html ./doc/html/H5.user.html ./src/H5.c ./src/H5D.c ./src/H5Dprivate.h ./src/H5E.c ./src/H5Epublic.h ./src/H5Farray.c ./src/H5Fistore.c ./src/H5Fprivate.h ./src/H5O.c ./src/H5Ocomp.c ./src/H5Oprivate.h ./src/H5P.c ./src/H5Ppublic.h ./src/H5Sall.c ./src/H5Shyper.c ./src/H5Spoint.c ./src/H5Sprivate.h ./src/H5Ssimp.c ./src/H5Z.c ./src/H5Zprivate.h ./src/H5Zpublic.h ./src/hdf5.h ./test/dsets.c ./tools/h5ls.c Added the data filter pipeline, a generalization of the compression stuff which allows things like checksums, encryption, compression, performance monitoring, etc. See ./doc/html/Filters.html for details -- it replaces the Compression.html doc. ./src/H5T.c Cleaned up debugging output. ./config/linux Added checks for egcs and pgcc and changed optimization flags for the compilers. ./src/H5G.c ./tools/h5dump.c Fixed compiler warnings in these files and others. ./configure.in ./src/H5private.h ./test/mtime.c Added a check for difftime() and defined HDdifftime() to do something else on systems that don't have difftime().
* [svn-r554] *** empty log message ***Robb Matzke1998-07-301-2/+2
|