11 from __future__
import print_function
13 from MTTDefaultsMTTStage
import *
36 MTTDefaultsMTTStage.__init__(self)
38 self.
options[
'trial'] = (
False,
"Use when testing your MTT client setup; results that are generated and submitted to the database are marked as \"trials\" and are not included in normal reporting.")
39 self.
options[
'scratch'] = (
"./mttscratch",
"Specify the DIRECTORY under which scratch files are to be stored")
40 self.
options[
'description'] = (
None,
"Provide a brief title/description to be included in the log for this test")
41 self.
options[
'platform'] = (
None,
"Name of the system under test")
42 self.
options[
'organization'] = (
None,
"Name of the organization running the test")
43 self.
options[
'merge_stdout_stderr'] = (
False,
"Merge stdout and stderr into one output stream")
44 self.
options[
'stdout_save_lines'] = (-1,
"Number of lines of stdout to save (-1 for unlimited)")
45 self.
options[
'stderr_save_lines'] = (-1,
"Number of lines of stderr to save (-1 for unlimited)")
46 self.
options[
'executor'] = (
'sequential',
"Strategy to use: combinatorial or sequential executor")
47 self.
options[
'time'] = (
True,
"Record how long it takes to run each individual test")
52 IPlugin.activate(self)
57 IPlugin.deactivate(self)
61 return "DefaultMTTDefaults"
64 lines = testDef.printOptions(self.
options)
73 testDef.logger.verbose_print(
"Set MTT Defaults")
76 testDef.parseOptions(log, self.
options, keyvals, cmds)