summaryrefslogtreecommitdiffstats
path: root/bin/runtest
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r10642] Changed the TMPFILE to reside in snapshot log area.Albert Cheng2005-04-221-1/+1
|
* [svn-r10539] Purpose:Albert Cheng2005-04-051-2/+16
| | | | | | | | | | | | | | | Bug fix Description: When chkmanifest failed, output is not dumped to failed detail section and people tend to ignore it. Solution: Buffer the output of chkmanifest in a file and dump it to failed detail section if it fails. Else, just output to standout. Platforms tested: Tested by hand in heping.
* [svn-r10537] Purpose:Albert Cheng2005-04-051-4/+2
| | | | | | | | | | | | | | Improvement Description: Dumping the beginning 10 lines of log files does not give much useful information and they sort of mix up with the last 30 lines. Solution: Do not dump the beginning 10 lines any more. Platforms tested: Tested by hand.
* [svn-r10101] Purpose:Albert Cheng2005-02-271-1/+2
| | | | Another attempt to change the format of the failed details reporting.
* [svn-r10097] Purpose:Albert Cheng2005-02-261-2/+7
| | | | modified the output format of dumping logfile when failures have occurred.
* [svn-r10080] Purpose:Albert Cheng2005-02-241-3/+8
| | | | | | | | | | | | Feature Description: Added code to dump the beginnng and last few lines of the test log file if errors have occurred. Platforms tested: Tested the code itself separatedly but daily test is where it is really tested. Should work.
* [svn-r10073] Purpose:HDF Admin2005-02-241-0/+6
| | | | | | | | | | | | feature Description: Starting to add a feature that will print out details from the snapshot test logfile when the test fails. Only a debug statment is added to see if snapshot is reporting error status correctly. Platforms tested: Not tested. Wait for daily test to show the result.
* [svn-r9784] Purpose:Albert Cheng2005-01-081-2/+4
| | | | | | | | | | | slight improvement Description: Added a time stamp when a host is not reachable. Added a pause to let timekeeper to complete. Platforms tested: It should work.
* [svn-r9720] Purpose:Albert Cheng2004-12-251-2/+3
| | | | | | | | | Updated to call timekeeper with minutes. Also put all timekeeper output to a separated logfile. Platforms tested: Did not test since it is hard to test without starting the whole daily test. The change is trivial too.
* [svn-r9716] Purpose:Albert Cheng2004-12-241-0/+6
| | | | | | | | | | Feature Description: Added the deploydir feature. Platforms tested: Hand tested.
* [svn-r9714] Purpose:Albert Cheng2004-12-231-3/+3
| | | | | | | | bug fix Description: Setup the time limit with the wrong unit concept. 300 is only 300 seconds, not 300 minutes. Set them to the correct values.
* [svn-r9711] Purpose:Albert Cheng2004-12-231-4/+7
| | | | | | | | | | Feature Description: Added the timekeeper feature. Platforms tested: tested by hand.
* [svn-r9692] Purpose:Albert Cheng2004-12-181-0/+6
| | | | | | | | | | feature. Description: Added the configure feature of deploy. Platforms tested: Hand tested in heping.
* [svn-r9340] Purpose:Albert Cheng2004-09-291-3/+3
| | | | | | | | | | | | | | | | | | | | | Bug fix. Description: There was a historical hack to prevent runtest in multiple hosts to run cvs update while they were launched by the daily test. But a more proper fix has been implemented to prevent that but this hack was not removed. It ended up enforcing one CVS update per day. But if someone tested runtest during the day, it would prevent the evening daily from doing update. That is not good. Solution: Removed the hack which is not need any more. Platforms tested: NO h5committest since it does test runtest. Tested it by hand in eirene and heping. Misc. update:
* [svn-r9319] Purpose:Albert Cheng2004-09-251-1/+7
| | | | | | | | | | | | | Feature Description: Added code to support the -configname feature. Platforms tested: no h5committest which does not test this command. ran it by hand in eirene comparing tg-login1 and tg-login2. Misc. update:
* [svn-r8913] Purpose:Albert Cheng2004-07-211-8/+8
| | | | | | | | | | | | | | | | | | | | 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:
* [svn-r8386] Purpose:Albert Cheng2004-04-191-3/+5
| | | | | | | | | | | Bug fix. Description: LOGFILE was showing both hostname and srcdirname when srcdirname is used. Fixed it. Platforms tested: Tested in LANL QSC.
* [svn-r7965] Purpose:Albert Cheng2003-12-161-0/+5
| | | | | | | | | | feature Description: Added the ability to handle srcdirname as the build-directory. Platforms tested: No h5comittest but tested in LANL QSC machine.
* [svn-r7960] Purpose:Albert Cheng2003-12-161-1/+2
| | | | | | | | | | feature. Description: Output skipped tests to a different file for better printout. Platforms tested: Just eyeballed it since the changes are trivial.
* [svn-r7958] Purpose:Albert Cheng2003-12-151-5/+5
| | | | | | | | Just trivial editing of comments. Platforms tested: Eyeballed since the changes are all trivial and involved comments only. Misc. update:
* [svn-r7940] Purpose:Albert Cheng2003-12-111-18/+3
| | | | | | | | | | | cleanup. Description: Removed the old command that parses setenv2 and setenv3 which are replaced by setenvN. Platforms tested: No h5committest since it does not test this script. Pretty sure it works.
* [svn-r7910] Purpose:Albert Cheng2003-12-031-2/+7
| | | | | | | | | | | | feature Description: -setup now also sets up or updates the current source directory. Platforms tested: LANL Theta. Misc. update:
* [svn-r7859] Purpose:HDF Admin2003-11-201-10/+53
| | | | | | | | | | | | | new feature Description: Added the -setup option so that it can setup the snapshot test directory structure. This will help the setup of snapshot test in a new machine, especially remote machine much easier. Platforms tested: no h5committest becuase it does not test this script. Tested in tg-ncsa.
* [svn-r7517] Purpose:HDF Admin2003-09-261-1/+0
| | | | | | | | | | | | bug fix Description: Removed an extra export command in the parse of setenvN Platforms tested: Tested by hand. Misc. update:
* [svn-r7504] Purpose:Albert Cheng2003-09-231-1/+0
| | | | | | | | | | | | | | | | Bug fix Description: The op-snapshot checkout "ate" the next option by mistake. Solution: Remove the extra shift. Platforms tested: Can't really test it without doing a real snapshot test. Pretty sure it is correct and will watch the result tomorrow. Misc. update:
* [svn-r7488] Purpose:Albert Cheng2003-09-181-3/+7
| | | | | | | | | | | | | Improvement Description: The -w timeout option is not supported by all hosts. Added the "ping -c 3" possible PING command. Platforms tested: Tested in eirene by hand only. Misc. update:
* [svn-r7425] Purpose:Albert Cheng2003-08-281-0/+19
| | | | | | | | | | | | | | new feature Description: Added a new option of "setenvN" which does set environment variable with $1 values e.g., setenvN 3 x a b c is same as setenv x="a b c". Platforms tested: No h5committest. Tested by hand in copper. Misc. update:
* [svn-r7388] Purpose:HDF Admin2003-08-211-0/+7
| | | | | | | | | | | | | | | | | new feature Description: Added a new test option of op-snapshot <option> snapshot option This allows snapshot.cfg to tell runtest to run snapshot with a special option. Platforms tested: Not h5committest because it is outside of its scope. Tested by hand. Misc. update:
* [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.