Paths
index
/local_disk/sherwood/RTT/Tools/RunTimeTester/RunTimeTester-00-00-93/src/Paths.py

# from siteSpecificsFactory import siteSpecificsFactory

 
Modules
       
Reporter
copy
os
string
sys
time

 
Classes
       
NoPackagePaths
Paths
PathsForDescriptors
PathsForTestRun

 
class NoPackagePaths
    Paths is a bag object of random bits and pieces.
It is instantiated using information from various sources, but mainly
from the top level RTT configuration file, This raw information is read in
via a parser which puts into the rttConfig object  passed to this class.
The constructor manipulates the information so that it is useful to the
rest of the program.
 
  Methods defined here:
__init__(self, rttTagBeingRun, rttConfig, timer, logDir, logger)
rttConfig is an object containing of parameters obtained by reading the
top level configuration file.
 
This constructor constructs a number of paths.
__str__(self)
#------------------------------------------------------------------------
createResultsDirDictionary(self, resBase)
Sets up a dictionary containing the various paths concerned with
results.
e.g. <resBase>/opt/N.0.X/10.0.1/kit
     <resBase>/opt/N.0.X/10.0.1/release
createWorkDirDictionary(self, workBase)
dump(self)
dumpHeader(self)
updateWithNightlyRelease(self, release)
Update paths.release, rttConfig and the work/res dirs with the found
(by Tester.findNightlyRelease: which calls this method) latest nightly release.
Until this point self.release = 'nightly'.

 
class Paths(NoPackagePaths)
     Methods defined here:
__init__(self, rttConfig, rttTagBeingRun, timer, logDir, cvsPackage, rttPackage, logger)
__str__(self)
checkPath(self, path)
#------------------------------------------------------------------------
dumpHeader(self)

Methods inherited from NoPackagePaths:
createResultsDirDictionary(self, resBase)
Sets up a dictionary containing the various paths concerned with
results.
e.g. <resBase>/opt/N.0.X/10.0.1/kit
     <resBase>/opt/N.0.X/10.0.1/release
createWorkDirDictionary(self, workBase)
dump(self)
updateWithNightlyRelease(self, release)
Update paths.release, rttConfig and the work/res dirs with the found
(by Tester.findNightlyRelease: which calls this method) latest nightly release.
Until this point self.release = 'nightly'.

 
class PathsForDescriptors
     Methods defined here:
__init__(self, paths)
__str__(self)

 
class PathsForTestRun
     Methods defined here:
__init__(self, paths)
__str__(self)

 
Data
        globalReporter = <Reporter.GlobalReporter instance>