Using testCheckPack.pl

testCheckPack.pl  is a component of the ReleaseManager that provides the ability for users to automatically build and test checkout packages in Linux, prior to release. It takes as input a GLAST checkout package name and version tag (which can, and most likely will be, "head" for the case of prerelease testing). It first tries to checkout and build the package using standard CMT commands. If successful re. building the package testCheckPack.pl then tries to run a conventionally named and placed test (i.e. the program named test_<package>.exe in the package binary directory). It builds standard error and standard output logs locally, in a directory called GlastRM under the directory the program is run from, for the users convenience. It also builds a web page with the error or test output and sends email to the user containing a brief description of the results and a link to the web page.

The man page style usage description follows:

Usage: testCheckPack.pl package version


ARGUMENTS
package - name of checkout package to test
version - version of checkout package to test (with head as an option)
Note that testCheckPack.pl will automatically use the users CMTPATH
environment variable so use CMTPATH if you wish to specify
alternate versions of packages to build against


EXAMPLES 
Example 1: testCheckPack.pl pdrApp head - try to build and run test for the version of the pdrApp package at the head of the cvs repository
Example 2: testCheckPack.pl pdrApp v3r1 - try to build and run test for version 3 release 1 of the pdrApp package

 

Created by: K. Young

14 February 2002 17:06