Commit Graph

83 Commits

Author SHA1 Message Date
Larry Knox
6c0fcb84a8 [svn-r26782] Remove md5 from METHODS arguments for calling bin/release script from snapshot script. md5 method was removed and md5 checksums are always produced for all compression methods. 2015-04-11 22:45:56 -05:00
Albert Cheng
ead005cc27 [svn-r25096] Bug: HDFFV-8433
Need to unify Windows release process (zip file) and Unix release process (bin/release-> tarfile)

Solution:
Added a new option (zip) to generate Windows zip file from the release tarball.

Tested: by hand running "bin/release ... gzip zip" to verify zip file looks right.
Allen and Dana then confirmed the zip file can be used to build and test HDF5
library without error.
2014-04-24 16:38:54 -05:00
Albert Cheng
7bac0bb48d [svn-r18293] Added yodconfigure feature.
Tested in RSQual of Sandia.
2010-02-19 14:43:15 -05:00
HDF Tester
94a00c768c [svn-r17973] Snapshot 2009-12-07 09:18:34 -05:00
Larry Knox
ecdc905099 [svn-r17511] Move misplaced ')' after make uninstall command so 'du -ks' command is run in test directory instead of running in snapshot directory. Snapshot directory has many more subdirectories and is often remote, increasing test running time and reporting incorrect disk usage.
Tested on smirom in hdfdts version.
2009-09-22 14:41:46 -05:00
Albert Cheng
2ad7c73e5b [svn-r13687] Improvement.
Added a clarification the environment variables dumping is BEFORE command option
parsing.  Also added a dumping AFTER the option parsing.

Tested:
Just eyeballed since it is trival.  Let daily tests runs to test it.
2007-04-18 16:37:44 -05:00
HDF Tester
d7c3cc4139 [svn-r13480] feature
Show disk usage at different stage of the snapshot processes
so that we know how much disk are needed in different stage.
(This still does not know how big disk usage during make check
process since many temporary files are deleted right after the tests
finish.)

Tested platform:
Kagiso.
2007-03-08 15:50:11 -05:00
Albert Cheng
5e1bee4f60 [svn-r13311] Updated copyright notice.
Test:
Just visual inspection as these are all comments changes.
2007-02-14 17:25:02 -05:00
Albert Cheng
6b857b5b8e [svn-r13193] Added check-vfd to the help page content. 2007-01-24 16:38:32 -05:00
Albert Cheng
c1068c94ca [svn-r13190] Copied the feature of testing check-install after deploy is run from v1.6.
Did some cosmetic changes of the check-vfd option.
2007-01-24 16:29:21 -05:00
Albert Cheng
0a65827564 [svn-r13188] Renamed the "archive" option as "releasedir". Changed the release directory
default to be release_dir in the snapshot base directory so that it is simplier
to control release directory destination per snapshot setup.

Tested platform:
Kagiso.
2007-01-24 15:17:42 -05:00
HDF Tester
aa00130f30 [svn-r13044] Updated for the new SVN server location. 2006-12-11 17:43:51 -05:00
Albert Cheng
7e328ad37c [svn-r12979] Cleanup.
Removed all old references to cvs commands.

Tested:
Will be tested by the daily tests.
2006-11-27 13:43:09 -05:00
James Laird
beb04ae817 [svn-r12519] Fixed "make check-vfd"
"make check-vfd" will now run all tests in the test directory with different
file drivers (at least, all of those tests that use the testing framework's
FAPL).  Tests that fail will be skipped.

This is not a perfect fix, but is better than nothing.

Along with this change, check-vfd should be added to the Daily Tests.
2006-07-31 14:46:16 -05:00
HDF Admin
9161a29d83 [svn-r12458] Converted to use svn instead of cvs. The cvs setup and commands are
still retained for comparison and maybe removed later.
2006-07-08 19:26:11 -05:00
Albert Cheng
d582c7bc8a [svn-r12450] Description:
The snapshot release directory was temporarily moved to a different
directory called unstable_format.  Since the format is now back to
the normal one, reverse the release directory to the normal place too.

Platforms tested:
No test since it was a trivial change.
2006-07-01 17:59:45 -05:00
James Laird
ff67dcf8ba [svn-r12129] Purpose:
Bug fix

Description:
The snapshot script was trying to install-doc, even though the docs are
no longer included in the cvs repo.

Solution:
Replaced 'make install install-doc' with 'make install-all', which should
have the same effect (installing the library and examples).

Platforms tested:
very minor change
2006-03-22 13:35:23 -05:00
HDF Admin
9d7b7612c2 [svn-r11984] Purpose:
feature.

Description:
Turn on the release process to generate the doc tarball too.

Platforms tested:
No real test, just eyeballed.
2006-02-28 13:11:10 -05:00
HDF Admin
4d005161a5 [svn-r11793] Purpose:
Improvement

Description:
Release action now prints a message showing Release version and where it
deposits it.

Platforms tested:
Change is simple and will test by hand after check in.

Misc. update:
2005-12-14 10:04:11 -05:00
HDF Admin
ee8efd25df [svn-r11769] Purpose:
Temporary fix.

Description:
Since the file format is unstable, we don't want the snapshot tarball
be readily available to any FTP users.  Change the snapshot archived
location to a directory that is not accessible by Anon. FTP.  If someone
wants to use one of these snapshot versions, give him/her a copy of these
files.

When file format is restored, switch this back to the previous default
location.

Platforms tested:
no test since change is pretty trivial.  I have scheduled a snapshot
release tonight to see if it will put it in the right place.
2005-12-08 11:46:10 -05:00
Albert Cheng
c037d88f3f [svn-r11366] Purpose:
upgrade.

Description:
A new feature md5 is added to the release script.  Upgrade snapshot
to include md5 in the snapshot release process.

Platforms tested:
No test since the change is pretty simple and it is hard to test
without really doing a snapshot release.

Misc. update:
2005-09-07 17:02:51 -05:00
Albert Cheng
636b5829a9 [svn-r11309] Purpose:
Bug fix.

Description:
Error encountered in the clean command was not passed back to calling
command.  Fixed it.

Platforms tested:
heping (where clean has no error) and sol (where clean has error).
2005-08-29 10:01:20 -05:00
Albert Cheng
7a2590222e [svn-r11089] Purpose:
cleanup.

Description:
The install directory (--prefix) has been changed to $PWD/hdf5 long time
ago.  It is no need to reset to installdir any more.

Platforms tested:
Change is trivial and will be tested in Daily tests.

Misc. update:
2005-07-20 08:36:33 -05:00
Albert Cheng
0daa76a150 [svn-r11075] Purpose:
bug fix.

Description:
The deploy command would exit whether it succeeded or not.

Solution:
Fixed it so that it exits only when deploy has encountered failures.

Platforms tested:
Trivial change.  Will watch the daily test results.

Misc. update:
2005-07-14 22:57:00 -05:00
Albert Cheng
c3d2710b7d [svn-r10031] Purpose:
Improvement.

Description:
Added a command to dump all environment variables at the
beginning of the snapshot test.

Platforms tested:
Attempted to test in eirene but aborted it after seeing the
dumping because it was doing things to the current/ of daily
test directory.  *arg!*
2005-02-17 12:05:59 -05:00
Albert Cheng
a1fa6e2aff [svn-r9716] Purpose:
Feature

Description:
Added the deploydir feature.

Platforms tested:
Hand tested.
2004-12-24 00:55:16 -05:00
Albert Cheng
2661085bd1 [svn-r9676] Purpose:
New feature

Description:
Added the deploy optin.

Platforms tested:
Tested by hand in heping.
2004-12-15 23:44:11 -05:00
Albert Cheng
fd476c92c5 [svn-r8913] Purpose:
Bug fix and feature.

Description:
The setenv was done in runtest but it has the effect will linger
onto the next test.  So, if the first test sets $CXX to a certain
value, it lingers on the all following tests of the same host.
This is usually not desired.

Solution:
Move the actual setenv code to snapshot.  Runtest now just parses them
and pass along the setenv request to snapshot.

Platforms tested:
no h5comittest which does not really test the change.
Hand tested in eirene with Tg-NCSA.

Misc. update:
2004-07-21 15:15:59 -05:00
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