CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes | Static Public Attributes
run_regression.RegressionTest Class Reference

Public Member Functions

def __init__
 
def finalize
 
def runOnDb
 
def runOnReference
 

Public Attributes

 resDb
 

Static Public Attributes

tuple cmd = RunTest( label,testSeq, release, arch, path, rel[0], rel[1], rel[2])
 
string cmds
 
tuple curs = conn.cursor()
 
tuple matching = pattern.findall(self.out_value)
 
tuple pattern = re.compile(reStr)
 
tuple releases = self.refDb.listReleases( relID )
 
tuple relID = reference_db.ExtractID(release)
 
string reStr = "\!L\!([^!]+)\!TR\!([^!]+)\!TA\!([^!]+)\!RR\!([^!]+)\!RA\!([^!]+)"
 
int runID = 0
 
tuple runID = self.resDb.getNewRunId()
 
string stat = "SUCCESS"
 
tuple stdoutMod = pattern.sub("", self.out_value)
 
tuple testSeq = ParseXML("sequences.xml", label)
 
tuple timeStamp = self.resDb.getDate()
 

Detailed Description

Definition at line 208 of file run_regression.py.

Constructor & Destructor Documentation

def run_regression.RegressionTest.__init__ (   self,
  conn 
)

Member Function Documentation

def run_regression.RegressionTest.finalize (   self,
  writeFlag 
)

Definition at line 271 of file run_regression.py.

272  def finalize( self, writeFlag ):
def run_regression.RegressionTest.runOnDb (   self,
  label,
  release,
  arch,
  path 
)

Definition at line 218 of file run_regression.py.

def runOnDb(self, label, release, arch, path):
def run_regression.RegressionTest.runOnReference (   self,
  label,
  release,
  arch,
  path,
  refRelease,
  refArch,
  refPath 
)

Definition at line 245 of file run_regression.py.

References reference_db.ExtractID().

def runOnReference(self, label, release, arch, path, refRelease, refArch, refPath):

Member Data Documentation

tuple run_regression.RegressionTest.cmd = RunTest( label,testSeq, release, arch, path, rel[0], rel[1], rel[2])
static

Definition at line 239 of file run_regression.py.

string run_regression.RegressionTest.cmds
static
Initial value:
1 = """
2 echo ""
3 echo "%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%"
4 echo "Candidate release: """

Definition at line 221 of file run_regression.py.

tuple run_regression.RegressionTest.curs = conn.cursor()
static

Definition at line 248 of file run_regression.py.

tuple run_regression.RegressionTest.matching = pattern.findall(self.out_value)
static

Definition at line 279 of file run_regression.py.

tuple run_regression.RegressionTest.pattern = re.compile(reStr)
static

Definition at line 278 of file run_regression.py.

tuple run_regression.RegressionTest.releases = self.refDb.listReleases( relID )
static

Definition at line 237 of file run_regression.py.

tuple run_regression.RegressionTest.relID = reference_db.ExtractID(release)
static

Definition at line 219 of file run_regression.py.

run_regression.RegressionTest.resDb

Definition at line 211 of file run_regression.py.

string run_regression.RegressionTest.reStr = "\!L\!([^!]+)\!TR\!([^!]+)\!TA\!([^!]+)\!RR\!([^!]+)\!RA\!([^!]+)"
static

Definition at line 273 of file run_regression.py.

int run_regression.RegressionTest.runID = 0
static

Definition at line 283 of file run_regression.py.

tuple run_regression.RegressionTest.runID = self.resDb.getNewRunId()
static

Definition at line 285 of file run_regression.py.

string run_regression.RegressionTest.stat = "SUCCESS"
static

Definition at line 282 of file run_regression.py.

tuple run_regression.RegressionTest.stdoutMod = pattern.sub("", self.out_value)
static

Definition at line 280 of file run_regression.py.

tuple run_regression.RegressionTest.testSeq = ParseXML("sequences.xml", label)
static
"
echo "Arch: 
"
echo "Path: 
"
echo "%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%"

Definition at line 229 of file run_regression.py.

tuple run_regression.RegressionTest.timeStamp = self.resDb.getDate()
static

Definition at line 281 of file run_regression.py.