Runs a cpypyqed script repeatedly for all declared runmodes and succeeds if the scripts do. More...
Public Member Functions | |
def | run |
The method to run the test. More... | |
Public Member Functions inherited from Runner | |
def | run |
The method to run the test. More... | |
Public Member Functions inherited from OutputManager | |
def | __init__ |
Arguments are passed through to OptionsManager. | |
def | runmodes |
Return runmodes. More... | |
def | output |
The name of the output file for a given runmode. More... | |
def | clean |
Delete the trajectory file and state file for a given runmode. More... | |
Public Member Functions inherited from OptionsManager | |
def | __init__ |
def | get_option |
Get configuration file keys in a safe way. More... | |
Additional Inherited Members | |
Public Attributes inherited from OutputManager | |
outputdir | |
All output files end up here. More... | |
expecteddir | |
Where to look for pre-run simulations to compare test runs to. More... | |
Public Attributes inherited from OptionsManager | |
options | |
optparse.Values: command line options | |
cp | |
ConfigParser: configuration file keys. | |
test | |
The name of the current test. | |
Runs a cpypyqed script repeatedly for all declared runmodes and succeeds if the scripts do.
Configuration file keys this class understands.
Definition at line 306 of file testdriver.py.
def run | ( | self, | |
clean = True , |
|||
extra_opts = None , |
|||
args, | |||
kwargs | |||
) |
The method to run the test.
clean | (optional) Boolean : Whether to remove old output before running the test. |
extra_opts | (optional) List : Additional command line options appended to the script call. |
args | passed through to Runner.run() |
kwargs | passed through to Runner.run() |
This method terminates the test driver with a return value equal to that of the script call if one of the scripts fail.
Definition at line 321 of file testdriver.py.