Commit Graph

37 Commits

Author SHA1 Message Date
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
235aa17446 [svn-r5058] Purpose:
Feature/bug fix
Description:
    The 'snapshot diff' command is run in all cases, even after the initial
    "snapshot diff" and hosts are polled to run the test.  It would not cause
    any harm except wasting time repeating diff'ing.  Also, the path is
    quite right to invoke snapshot by merely "bin/snapshot diff" since it
    has not "cd" to the right directory yet.
Solution:
    Added a new option of "-nodiff" to skip the special diff request.
    Then make "runtest" to call itself again with it to prevent
    any further unnecessary diff'ing.
Platforms tested:
    eirene
2002-03-10 22:49:16 -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
1e8161af38 [svn-r5024] Purpose:
Feature
Description:
    The output of multiple tests of one host used to all go to the same
    logfile.  It is harder to find the beginning of each test.
Solution:
    Added hour and minute (HHMM) into the logfile name.  Different
    tests should go to different files now.  If a second test starts
    within a minute of the previous test, their output will be all
    in the same file.  In the case, there are probably not that much
    output to worry.
Platforms tested:
    eirene
2002-02-28 10:10:30 -05:00
Albert Cheng
46af16f87b [svn-r4571] Purpose:
Improvement
Description:
    Removed the hard coding of all the test hosts.  Let it be defined
    in a file.
Platforms tested:
    Eirene
2001-10-24 13:06:50 -05:00
HDF Admin
5efe5534ce [svn-r4557] Purpose:
kludge
Description:
    Somehow if consecutive "rsh houdin -n ..." are issued too close,
    a "Connection refused" result.  Then /usr/local/krb5/rsh falls
    back to ordinary rsh protocal which of course won't work either.
Solution:
    if the houdin to be tested is houdin, wait for 5 seconds before
    launching the 'rsh ...' command.  Hopefully the system admin can
    fix the rsh problem.
Platforms tested:
    eirene talking to houdin.
2001-10-19 18:53:46 -05:00
Albert Cheng
7e76f7b0d1 [svn-r4556] Purpose:
Feature (actually a kludge)
Description:
    The old "setenv" option for the snaptest.cfg cannot handle
    if there are white spaces in the setenv value part.
    Added a "setenv2" that expects the value consists of 2 parts.
    A better solution (like can parse in double quoted values) is
    needed.
Platforms tested:
    eirene with houdin (solaris 2.7)
2001-10-19 00:20:44 -05:00
Albert Cheng
3a57757306 [svn-r4514] Purpose:
feature
Description:
    Ignore blank lines in the config file too.
Platforms tested:
    Eirene.
2001-10-03 02:03:12 -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
33e8dfc425 [svn-r4432] Purpose:
Bug fix.
Description:
    Did not update the expected strings for result of grand total test
    time.  Causing a false report of test failed to complete.
Solution:
    Update the strings.
Platforms tested:
    Eirene and modi4.
2001-09-09 22:52:17 -05:00
Albert Cheng
1c1343450e [svn-r4430] Description:
Added a feature to print total test time spent in a host in
    addition to individual test time.
Platforms tested:
    eirene, modi4, baldric.
2001-09-08 12:01:24 -05:00
Albert Cheng
544759df32 [svn-r4428] Purpose:
Bug fix
Description:
    The previous coding using sed was not portable for all Unix
    systems.  Much easier to use 'cut' to parse the strings.
Platforms tested:
    eirene
2001-09-06 00:27:40 -05:00
Albert Cheng
1e3185431d [svn-r4421] Description:
Added a new feature that allows an test configure runs on a certain
    day of the week (Mon, ..., Sun)
Platforms tested:
    eirene.
2001-09-04 13:42:06 -05:00
HDF Admin
f0fbd00403 [svn-r4418] Purpose:
Bug fix
Description:
    when a snaptest did not complete, it reported it as a failure
    of the launching host, rather than the testing host.
    Changed it to report the testing host.
2001-08-31 10:10:55 -05:00
HDF Admin
b958ba1a0d [svn-r4410] Purpose:
Improved format of failures reporting.
Platforms tested:
    eirene, premium, modi4.
2001-08-27 11:01:37 -05:00
Albert Cheng
2b6e7d2603 [svn-r4405] Purpose:
Feature
Description:
    Changed some output format.
    Improved the CHECK_RSH to better report the result when failed.
Platforms tested:
    eirene with nosuch and shalom. (made sure failures do occur)
2001-08-21 18:41:10 -05:00
Albert Cheng
34e312e7c6 [svn-r4401] Purpose:
slight change of output format.
2001-08-20 22:31:58 -05:00
HDF Admin
4f6a24f099 [svn-r4341] Purpose:
Changed the wording of test results.
Platforms tested:
    eirene, dangermouse.
2001-08-14 10:54:05 -05:00
HDF Admin
8e13b3baf5 [svn-r4332] Purpose:
New feature
Description:
    Added a positive report of test completed by reporting them
    to SUCCEED_LOG_<date>.
Platforms tested:
    eirene, dangermouse.
2001-08-13 11:32:00 -05:00
Albert Cheng
3027c02d0b [svn-r4228] Purpose:
Feature
Description:
    Added the feature that ALLHOSTS can be set via the file
    allhostfile in the snapshot directory.  This reduces the
    need to modify runtest for hosts changes.
Platforms tested:
    eirene (did dry runs).
2001-07-17 09:32:17 -05:00
Albert Cheng
9cf66905ff [svn-r3964] Purpose:
new feature
Description:
    added the command option of "setenv x y" for setting
    environment variable x=y.
Platforms tested:
    Eirene
2001-06-05 22:57:35 -05:00
Albert Cheng
2aefa8a0a4 [svn-r3656] Purpose:
adjustment
Description:
    When gondolin failed the 1.5 test, it moved ahead for the 1.4 test.
    The 1.5 test usually takes 1 hour to complete but runtest only waited
    30 minutes for the 1.4 cvs update to complete.  So, gondolin ended
    up failing the 1.4 test too.
Solution:
    Changed the wait time to 90 minutes.
    Added echo statements showing it is waiting for some event. This
    would help the human knowing it is waiting for something.
    Added more comments about the algorithm of the waiting.
Platforms tested:
    Gotta be right. :-)
2001-03-17 10:20:46 -05:00
Albert Cheng
6c915a1fa6 [svn-r3615] Purpose:
Bug fix
Description:
    removed two debug statements used before.
2001-03-13 08:44:06 -05:00
Albert Cheng
be066eb844 [svn-r3613] Purpose:
new feature
Description:
    Added a new option -nocvs for no cvs commands.
    Added a locking mechanism to show CVS checkout in progress
    and other hosts should wait till it is done.
Platforms tested:
    gondolin
2001-03-13 00:27:58 -05:00
Albert Cheng
705c721120 [svn-r3526] Purpose:
Bug fix
Description:
    Updated its default H5DIR value to the correct version branch
    it is in now.
Platforms tested:
    Will be tested by the daily test cron job.
2001-02-28 09:49:29 -05:00
Albert Cheng
612765e5d4 [svn-r3516] Purpose:
New feature
Description:
    Added a -debug line option and will pass it to other runtest invoked.
    Removed the restriction of running one test per host.  This way,
    tests of different tests (e.g., with or without fortran) can be
    run per host with all output saved in one log file.
Platforms tested:
    Tried several runs of daily test.
2001-02-25 16:23:55 -05:00
Albert Cheng
0c991c0bb5 [svn-r3465] Description:
Added kelgia, an HPUX 11, to the HP hosts list for daily test.
Platforms tested:
    Eye-balled.
2001-02-19 21:42:26 -05:00
Albert Cheng
637d7f4ce1 [svn-r3369] Purpose:
Bug fix (feature)
Description:
    It did not recognize the op-configure keyword as a possible
    type of test.
Solution:
    Added the feature to handle op-configure.
Platforms tested:
    Linux, freebsd.
2001-02-06 12:48:21 -05:00
Albert Cheng
28c1d30212 [svn-r3365] Purpose:
Bug fix, feature, cleaning code
Description:
    It could not find bin/locate_hdf5.
Solution:
    Explicitedly use the bin/locate_hdf5 in the snapshots/current area.
    Also, added Usage page to be printed when -h(elp) is asked or when
    there is error in command option.
    Cleaned some old code no longer used.
Platforms tested:
    eirene
2001-02-05 23:38:57 -05:00
Albert Cheng
e80c106497 [svn-r3348] Purpose:
new feature
Description:
    It now reads a configuration file ($HOME/snapshots-hdf5/snaptest.cfg)
    to set up the configure options of the tests, and what type of tests
    to run for each host.
Platforms tested:
    Eirene launched a full blown test on all machines involved in the
    daily test.
2001-02-04 23:36:30 -05:00
Albert Cheng
b809e9c3a2 [svn-r3339] Got rid some debug echo statements. 2001-01-31 15:51:00 -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
e94edbfbc3 [svn-r3334] Purpose:
New Feature
Description:
    It supports a configure file (snapshots.../snaptest.cfg).
    Currently, it recognize comment lines (started with #)
    and the standard configuration.
Platforms tested:
    Eirene (Linux)
2001-01-30 01:12:12 -05:00
Albert Cheng
078c462615 [svn-r3333] Purpose:
feature
Description:
    Use the external locate_hdf4 instead of the internal function to
    find the HDF4 software.  Also set PATH to include the HDF4 bin
    if found.  That would help gurantee access to the 'hdp' tool.
    (Need to do an explicite "export PATH" since DEC OSF1 sh does not
    seem to export the changed value by default.)
Platforms tested:
    Gondolin (DEC OSF1)
2001-01-29 22:58:38 -05:00
Albert Cheng
99c5bd9b3d [svn-r3331] Purpose:
feature
Description:
    revised it so that it can really run the snapshot tests.
    It now first update the source in the snapshot area and then uses
    the scripts in snapshot/current/bin.
Platforms tested:
    modi4, arabica
2001-01-27 09:38:08 -05:00
Albert Cheng
2f224f8bae [svn-r3328] Purpose:
New feature
Description:
    This runs the hdf5 library testing via the snapshot script.  Without
    any argument, it runs the test for the current host.  If -all is used,
    it runs the tests on a predefined list of hosts.
Platforms tested:
    This does not quite work yet as there are a few hardcoded pathnames
    to find the script on remote machines.  Committing it now to hold
    the place so that others can see how it works.
2001-01-26 15:07:48 -05:00