casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables
Public Member Functions | Public Attributes | Static Public Attributes
publish_summary.runTest Class Reference

List of all members.

Public Member Functions

def __init__
def op_init
def op_done
def polImageTest
def simpleStats
def visStats
def cubeImageTest
def get_casa_version
def create_log
def get_platform

Public Attributes

 resultdir
 imdir
 tester
 imagertests
 result
 numTests
 resultsubdir
 Get the directories right.
 result_common
 logfd

Static Public Attributes

int status
 Do a simple stats for pol Q,U,V.
tuple page

Detailed Description

Definition at line 46 of file publish_summary.py.


Constructor & Destructor Documentation

def publish_summary.runTest.__init__ (   self,
  test,
  DATA_REPOS = [AIPS_DIR+'/data'],
  WORKING_DIR = '/tmp/casa_regression_work/',
  RESULT_DIR = '/tmp/casa_regression_result/',
  retemplate = False,
  cleanup = True,
  CPP_PROFILE = False,
  RESULT_SUBDIR = '',
  REDIRECT = True,
  PY_PROFILE = True 
)
cleanup: set to False to keep data around.
CPP_PROFILE: set to True to enable C++ profiling.  This requires that the command 'sudo opcontrol' must work.  You also need the 'dot' tool distributed as part of graphviz.  Run 'dot -Txxx' to verify that your dot installation supports PNG images.
Note, a profile is created only for the casapy process. If you want to include profiles for async / child processes, refer to the documentation for opreport.

Definition at line 56 of file publish_summary.py.


Member Function Documentation

def publish_summary.runTest.create_log (   self,
  product_file 
)
def publish_summary.runTest.cubeImageTest (   self,
  imageName,
  templateImage,
  testname,
  WORKING_DIR,
  RESULT_DIR 
)

Definition at line 663 of file publish_summary.py.

Definition at line 691 of file publish_summary.py.

def publish_summary.runTest.op_done (   self,
  oprofile 
)

Definition at line 445 of file publish_summary.py.

def publish_summary.runTest.op_init (   self,
  oprofile 
)

Definition at line 441 of file publish_summary.py.

def publish_summary.runTest.polImageTest (   self,
  imageName,
  templateImage,
  testName,
  WORKING_DIR,
  RESULT_DIR,
  numPol = 2 
)
def publish_summary.runTest.simpleStats (   self,
  imageName,
  templateImage,
  testname,
  WORKING_DIR,
  RESULT_DIR 
)
def publish_summary.runTest.visStats (   self,
  msName,
  templateMS,
  testname,
  WORKING_DIR,
  RESULT_DIR 
)

Member Data Documentation

Definition at line 69 of file publish_summary.py.

Definition at line 681 of file publish_summary.py.

Definition at line 71 of file publish_summary.py.

Definition at line 536 of file publish_summary.py.

Definition at line 267 of file publish_summary.py.

Get the directories right.

cleanup before each test

Definition at line 77 of file publish_summary.py.

Referenced by publish_summary.runTest.create_log().

Do a simple stats for pol Q,U,V.

Definition at line 507 of file publish_summary.py.

Definition at line 68 of file publish_summary.py.


The documentation for this class was generated from the following file: