|
__init__(self,
product,
priority,
description,
command,
workup,
build_modified=None,
creator=None,
number=None,
directory=None,
question='
' ,
product_subfeature=None,
mpi_enabled=None,
allowed_cpu='
' ,
jira_tracking=None,
disabled_for_bug=False,
unsupported_platforms=None,
shared_files=( ) ,
substitution_files=( ) ,
useJC=None,
resource_uri=None,
download=None,
upload=None,
tags=None,
minimum_version=None,
maximum_version=None,
executed=False,
**kwargs)
x.__init__(...) initializes x; see help(type(x)) for signature |
|
|
|
write_readme(self,
fileobj=None)
Print or return the README data. |
|
|
|
validate(self,
**kwargs)
Validate the data stored in a TestScript object. |
|
|
list
|
parseWorkup(self,
outcome_workup_string,
delim_and=' && ' ,
delim_or=' || ' )
Splits the outcome_workup_string into correctly formatted outcome
workups. |
|
|
|
_parseSingleWorkup(self,
outcome_workup_string)
Method takes an outcome in the format of 'method(args)' as a python
call and splits into a method name and argument list |
|
|
|
_parseWorkupArgs(self,
args_string)
Parse the argument list from a 'method(arg1, arg2, arg3)' into a
list. |
|
|
|
runWorkup(self,
job=None)
Run my workup. |
|
|
|
getNewExecuteDirectory(self,
attempts=120)
Get a new directory name. |
|
|
|
copyToScratch(self)
Copy files to a scratch folder. |
|
|
|
recoverFromScratch(self,
get_license=True)
Remove scratch folder and prepare to add/modify the test. |
|
|
|
_getReferenceLicense(self)
Get the license file created in the scratch directory and move it to
the test directory. |
|
|
|
substituteFiles(self)
Replace substitution expressions in files that require it. |
|
|
|
_substituteInPlace(self,
filename)
Replace ${SHARED} and ${CWD} in filename with the shared
directory and test directory, respectively. |
|
|
bool
|
useJC(self)
Determines whether the script will be run under jobcontrol, uses
self._useJC as a default value (if it is defined). |
|
|
|
runsRemotely(self)
A job is available to run on a remote host if:
* It is a jobcontroljob that doesn't have the require:localhost tag
* It is not a jobcontroljob, but it has ${HOST} in the command. |
|
|
|
toDict(self)
Dump test object as a dict |
|
|
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__subclasshook__
|