Commit Graph

55 Commits

Author SHA1 Message Date
Albert Cheng
d6c035b8d4 [svn-r7953] Description:
cvs checkout often included empty directories the contents of which
   are no longer needed.
   Added -P to cvs command to prune them.

Platforms tested:
no h5committest which does not test snaptest.
2003-12-13 23:03:07 -05:00
HDF Admin
203725dfc3 [svn-r7858] Purpose:
Improvement

Description:
The cvs checkout used the complete path of current/ which is not
accepted by cvs server.  Changed it to chdir to the snapshot directory
and then cvs checkout just current/.

Platforms tested:
Not h5committested because it does not test this command.
Tested in tg-ncsa which has no direct access to the CVS directory
and must use the server route.

Misc. update:
2003-11-19 23:43:11 -05:00
HDF Admin
540431b983 [svn-r7179] Purpose:
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.
2003-07-07 12:03:08 -05:00
Albert Cheng
6e9724c46c [svn-r6572] Purpose:
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:
2003-04-02 16:35:57 -05:00
Albert Cheng
7fb720becf [svn-r6225] Purpose:
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.
2003-01-02 15:48:33 -05:00
Albert Cheng
db6808a25b [svn-r6146] Description:
added a command so that snapshot prints a message before
    exiting.
Platforms tested:
    eirene
2002-12-03 11:18:15 -05:00
Albert Cheng
02fe47462b [svn-r6092] Purpose:
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.
2002-11-14 10:53:11 -05:00
Albert Cheng
aaf7818a66 [svn-r5621] Purpose:
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.
2002-06-13 06:52:22 -05:00
Albert Cheng
0ce6b8c9e6 [svn-r5068] Purpose:
Updated the help message to include the diff option.
2002-03-18 17:19:59 -05:00
Albert Cheng
6531ce3b52 [svn-r5055] Purpose:
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
2002-03-08 18:36:59 -05:00
Albert Cheng
a3c023c143 [svn-r5034] Purpose:
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.
2002-03-05 19:55:31 -05:00
Albert Cheng
2b8c251be6 [svn-r5026] Purpose:
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
2002-02-28 10:51:00 -05:00
Albert Cheng
f6ecbd18b0 [svn-r5020] Purpose:
Feature
Description:
    Use the new target of check-install instead of previous hand-made
    commands.
Platforms tested:
    eirene.
2002-02-27 14:46:46 -05:00
Albert Cheng
92dd563371 [svn-r5000] Purpose:
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
2002-02-22 00:13:19 -05:00
Albert Cheng
42f333314a [svn-r4682] Purpose:
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.
2001-12-06 16:42:41 -05:00
Albert Cheng
e3c98c2899 [svn-r4672] Purpose:
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.)
2001-12-05 12:18:34 -05:00
Albert Cheng
2fda38ead0 [svn-r4513] Purpose:
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.
2001-10-02 15:47:05 -05:00
Albert Cheng
6abb662d70 [svn-r3812] Purpose:
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
2001-04-13 16:57:04 -05:00
Albert Cheng
343d05a8f9 [svn-r3555] Purpose:
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.
2001-03-07 20:20:43 -05:00
Albert Cheng
fb9a8ee159 [svn-r3515] Description:
Move the printing of command argument to the beginning of the
    shell with banners around for easier identification.
Platforms tested:
    Eirene
2001-02-24 23:31:44 -05:00
Albert Cheng
11efb889c6 [svn-r3336] Purpose:
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.
2001-01-31 01:03:28 -05:00
Albert Cheng
d4c6268b82 [svn-r2424] snapshot needs a version of diff that supports the -I (ignore 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
2000-07-01 19:10:50 -05:00
Albert Cheng
4e89f86c97 [svn-r2106] Changed the BASEDIR name to the form of $HOME/snapshots-${H5VERSION}
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.
2000-04-10 17:29:11 -05:00
Albert Cheng
e72f4e6cdb [svn-r2049] Added the "clean" and "distclean" option for cleaning the test directory.
This would help clean disk usage after the daily test is done.
2000-03-23 00:45:04 -05:00
Albert Cheng
dae4c6c1eb [svn-r2024] Added comments why the replacement of PREVIOUS should process even
if the overall release process has an error.
2000-03-13 10:20:46 -05:00
Albert Cheng
6199c59bbb [svn-r1984] Use one big cat to the help message (instead of the old way of echo)
because the messages are getting really big (my fault).
2000-02-22 12:59:23 -05:00
Albert Cheng
68bf4cc74b [svn-r1983] Added two new options.
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
2000-02-22 12:27:48 -05:00
Albert Cheng
74333f5ae8 [svn-r1935] A minor editing of the help messages. 2000-01-07 18:10:26 -05:00
Albert Cheng
e2d85175c6 [svn-r1929] Added the srcdir option to support concurrent tests by different
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.
2000-01-05 09:18:52 -05:00
Albert Cheng
ac4430b260 [svn-r1855] Use the user MAKE if that has been set. 1999-12-03 17:42:55 -05:00
Albert Cheng
2b10001114 [svn-r1829] Did a make distclean in the test stage to clean away previous tests.
Changed _test to check which is the proper name for the testing target.
1999-11-04 15:35:23 -05:00
Albert Cheng
febbb4c50d [svn-r1826] Got rid of old commented out commands.
Added uname to show host information automatically.
1999-11-04 01:54:44 -05:00
Albert Cheng
bb1c7d462e [svn-r1790] Removed the tag of the snapshot version. The tagging created a long
list of tags no one ever used.
1999-10-24 19:57:59 -05:00
Quincey Koziol
0d5399fc98 [svn-r1643] Tweaks to run on baldric better. 1999-09-22 00:47:46 -05:00
Albert Cheng
a166cd45e3 [svn-r1430] Fixed some dumb typos. 1999-07-06 15:06:16 -05:00
Albert Cheng
e186d84c5f [svn-r1424] Pulled CVS checkout codes to form a new partition of checkout that
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.
1999-07-06 11:54:45 -05:00
Albert Cheng
624719c924 [svn-r1421] Divide the whole script into two parts, test and release, so 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.
1999-07-04 00:16:03 -05:00
Albert Cheng
45d2895bfa [svn-r1358] Update the ftp site to the AFS area.
Added in the exit-on-error mode to abort cvs commit if errors encountered.
1999-06-16 19:33:00 -05:00
Robb Matzke
06c7d8fbbf [svn-r1354]
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.
1999-06-16 10:09:56 -05:00
Albert Cheng
740b5058c5 [svn-r1345] Changed it to use perl to execute the perl scripts than to
rely on invoking the script files themselves.
Tested on fuga (IRIX 6.5).
1999-06-14 23:01:09 -05:00
Albert Cheng
c752adc4ac [svn-r1313] Neither SGI nor Solaris allows an empty 'then' body.
Changed it to conditional statements.  Tested fine in
SGI and Solaris.
1999-06-07 19:42:10 -05:00
Robb Matzke
912c5a0874 [svn-r1108] Changes since 19990225
----------------------

./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.
1999-02-26 14:58:14 -05:00
Quincey Koziol
252e4dfc5f [svn-r1105] Removed flag which was stopping the HDF4 library from being tested, now that
I've rolled back the installed library on hawkwind to HDF4.1r2.
1999-02-25 16:52:30 -05:00
Robb Matzke
ef9c22ab61 [svn-r1080] Disabled detection of hdf4 during the configuration because hawkwind
has old enough hdf4 libraries that the h5toh4 test always fails.
1999-02-18 11:55:00 -05:00
Robb Matzke
46f683cf14 [svn-r876] Changes since 19981102
----------------------

./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.
1998-11-05 15:28:34 -05:00
Robb Matzke
fbacf0337a [svn-r671] Changes since 19980904
----------------------

./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.
1998-09-08 08:38:29 -05:00
Robb Matzke
eb5e01d37c [svn-r620] Changes since 19980825
----------------------

./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.
1998-08-27 11:48:50 -05:00
Robb Matzke
d27a31461c [svn-r601] Changes since 19980814
----------------------

./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.
1998-08-18 12:14:43 -05:00
Robb Matzke
678eb19d71 [svn-r588] Changes since 19980810
----------------------

./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.
1998-08-13 15:17:47 -05:00
Robb Matzke
9754e9373b [svn-r584] Changes since 19980806
----------------------

./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
1998-08-10 13:15:14 -05:00