summaryrefslogtreecommitdiffstats
path: root/bin/runtest
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r7179] Purpose:HDF Admin2003-07-071-1/+6
| | | | | | | | | | | | | | 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-r7089] Purpose:Albert Cheng2003-06-241-13/+0
| | | | | | | | | | | | | | | | | | | bug fixes Description: The "fs flush" actually discards the local caches information, NOT pushing the local file out to the servers. It does not help the AFS problems we had but probably made it worse by creating more demands on the servers. Solution: Removed the FLUSH_FILES code. Platforms tested: Can't be tested by h5committest and I am pretty sure the change is safe. Misc. update:
* [svn-r6692] Purpose:Albert Cheng2003-04-161-0/+9
| | | | | | | | | | | | | | | | feature. Description: Added the option of "setenv3" which sets the environment variable that has three components like env AR="ar -X 64". It is another kludge like setenv2. Got to code in a better 'setenv' option. Platforms tested: Copper (because its -64 compiling needs that AR set as above). Eirene (where it usually launches). Did not do h5committest which does not test bin/runtest. Misc. update:
* [svn-r6548] Purpose:Albert Cheng2003-03-311-4/+13
| | | | | | | | | | | | | | | | | | | | | | | | | New Feature Description: Some machine has a different hostname from its official name (e.g., copper is called Cu12) and some machine name are dynamic aliases (e.g., titan is mapped user01 or user02). Some names are cryptic (who could remember hn0? are platinum hosts while user0? are for titan). We had to hardcode those names into the snaptest.cfg file. An ongoing maintenance PAIN. Solution: Added -configname <name> option where "use <name> as hostname in the parsing of the snaptest configure file" Changed RSH code to append the hostname used in the Allhostfile. Now, we need not worry about machine name mapped to a different host and it is much cleaner to match up entries between allhostfile and snaptest.cfg files. Platforms tested: Did not use h5committest which does not cover this code. Tested in eirene, titan, platinum and copper. Misc. update:
* [svn-r6529] Purpose:Albert Cheng2003-03-291-2/+2
| | | | | | | | | | | | | | Improvement Description: Added a 5 seconds timeout to the PING command so that it can detect host not online quicker. Platforms tested: The three platforms tests do not cover this command. Test it in eirene where it is usually run. Misc. update:
* [svn-r6523] Purpose:Albert Cheng2003-03-261-3/+6
| | | | | | | | | | | | | | | Bug fix. Description: n_test must be inited to 1 when it is for tests within one machine. Undid my previous mistake. Platforms tested: Eirene. Did not do the h5committest because this is a script and if it works in one machine, it most like will work in all Unix platform. Misc. update:
* [svn-r6522] Purpose:Albert Cheng2003-03-261-9/+23
| | | | | | | | | | | | | | | | | | | | | | | new feature and some bug fixes Description: Add a new feature to "skip" some tests. Sometimes, a machine has problem (e.g. titan and sleipnir having AFS problems). Sometimes some feature in a machine is temporary off (e.g., PGI compilers in eirene.) The tests will be reported being SKIPPED which will be reminder to remove the skipping once the problem is fixed. I installed the skipping control in snaptest.cfg rather than in allhostsfile to have a finer control to skip just a subset of the tests of a machine, rather than skipping the all tests of a machine. Bug fixes: fixed the miscounting of number of tests ran. It was reporting one too many. Platforms tested: Only tested in eirene since eirene is the one uses it directly. Misc. update:
* [svn-r6488] Purpose:Albert Cheng2003-03-191-3/+10
| | | | | | | | | | | | | | | New feature Description: Added feature to print a summary of total number of tests and time spent in each host. Platforms tested: Did not run h5committest because it does not test this script. Did test it out in eirene and burrwhite. Misc. update: No document change.
* [svn-r5621] Purpose:Albert Cheng2002-06-131-10/+25
| | | | | | | | | | 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-r5058] Purpose:Albert Cheng2002-03-111-9/+18
| | | | | | | | | | | | | | | | 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
* [svn-r5055] Purpose:Albert Cheng2002-03-081-0/+13
| | | | | | | | | | | 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-7/+17
| | | | | | | | | | 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-r5024] Purpose:Albert Cheng2002-02-281-1/+2
| | | | | | | | | | | | | | | 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
* [svn-r4571] Purpose:Albert Cheng2001-10-241-45/+9
| | | | | | | | | Improvement Description: Removed the hard coding of all the test hosts. Let it be defined in a file. Platforms tested: Eirene
* [svn-r4557] Purpose:HDF Admin2001-10-191-0/+4
| | | | | | | | | | | | | | 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.
* [svn-r4556] Purpose:Albert Cheng2001-10-191-0/+9
| | | | | | | | | | | | 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)
* [svn-r4514] Purpose:Albert Cheng2001-10-031-5/+4
| | | | | | | | feature Description: Ignore blank lines in the config file too. Platforms tested: Eirene.
* [svn-r4513] Purpose:Albert Cheng2001-10-021-17/+29
| | | | | | | | | | | | | 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-r4432] Purpose:Albert Cheng2001-09-101-1/+1
| | | | | | | | | | | 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.
* [svn-r4430] Description:Albert Cheng2001-09-081-7/+18
| | | | | | | Added a feature to print total test time spent in a host in addition to individual test time. Platforms tested: eirene, modi4, baldric.
* [svn-r4428] Purpose:Albert Cheng2001-09-061-1/+5
| | | | | | | | | 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
* [svn-r4421] Description:Albert Cheng2001-09-041-0/+15
| | | | | | | Added a new feature that allows an test configure runs on a certain day of the week (Mon, ..., Sun) Platforms tested: eirene.
* [svn-r4418] Purpose:HDF Admin2001-08-311-1/+1
| | | | | | | | 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.
* [svn-r4410] Purpose:HDF Admin2001-08-271-9/+10
| | | | | | Improved format of failures reporting. Platforms tested: eirene, premium, modi4.
* [svn-r4405] Purpose:Albert Cheng2001-08-211-43/+73
| | | | | | | | | 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)
* [svn-r4401] Purpose:Albert Cheng2001-08-211-2/+2
| | | | slight change of output format.
* [svn-r4341] Purpose:HDF Admin2001-08-141-3/+3
| | | | | | Changed the wording of test results. Platforms tested: eirene, dangermouse.
* [svn-r4332] Purpose:HDF Admin2001-08-131-1/+2
| | | | | | | | | New feature Description: Added a positive report of test completed by reporting them to SUCCEED_LOG_<date>. Platforms tested: eirene, dangermouse.
* [svn-r4228] Purpose:Albert Cheng2001-07-171-1/+14
| | | | | | | | | | 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).
* [svn-r3964] Purpose:Albert Cheng2001-06-061-0/+7
| | | | | | | | | new feature Description: added the command option of "setenv x y" for setting environment variable x=y. Platforms tested: Eirene
* [svn-r3656] Purpose:Albert Cheng2001-03-171-2/+7
| | | | | | | | | | | | | | | | 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. :-)
* [svn-r3615] Purpose:Albert Cheng2001-03-131-2/+0
| | | | | | Bug fix Description: removed two debug statements used before.
* [svn-r3613] Purpose:Albert Cheng2001-03-131-4/+94
| | | | | | | | | | 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
* [svn-r3526] Purpose:Albert Cheng2001-02-281-1/+1
| | | | | | | | | 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.
* [svn-r3516] Purpose:Albert Cheng2001-02-251-9/+12
| | | | | | | | | | | 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.
* [svn-r3465] Description:Albert Cheng2001-02-201-5/+5
| | | | | | Added kelgia, an HPUX 11, to the HP hosts list for daily test. Platforms tested: Eye-balled.
* [svn-r3369] Purpose:Albert Cheng2001-02-061-0/+5
| | | | | | | | | | | 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.
* [svn-r3365] Purpose:Albert Cheng2001-02-061-16/+31
| | | | | | | | | | | | | 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
* [svn-r3348] Purpose:Albert Cheng2001-02-051-32/+58
| | | | | | | | | | | 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.
* [svn-r3339] Got rid some debug echo statements.Albert Cheng2001-01-311-6/+1
|
* [svn-r3336] Purpose:Albert Cheng2001-01-311-1/+1
| | | | | | | | | | | | | | 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-r3334] Purpose:Albert Cheng2001-01-301-7/+40
| | | | | | | | | | 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)
* [svn-r3333] Purpose:Albert Cheng2001-01-301-67/+7
| | | | | | | | | | | | 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)
* [svn-r3331] Purpose:Albert Cheng2001-01-271-7/+30
| | | | | | | | | | 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
* [svn-r3328] Purpose:Albert Cheng2001-01-261-0/+468
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.