Home
last modified time | relevance | path

Searched refs:steps_filename (Results 1 – 4 of 4) sorted by relevance

/external/autotest/client/tests/kvm/tests/
Dsteps.py192 steps_filename = params.get("steps")
193 if not steps_filename:
195 steps_filename = virt_utils.get_path(test.bindir, steps_filename)
196 if not os.path.exists(steps_filename):
197 raise error.TestError("Steps file not found: %s" % steps_filename)
199 sf = open(steps_filename, "r")
239 ppm_utils.get_data_dir(steps_filename),
Dstepmaker.py25 def __init__(self, vm, steps_filename, tempdir, params): argument
29 self.steps_filename = steps_filename
30 self.steps_data_dir = ppm_utils.get_data_dir(steps_filename)
38 self.steps_file = open(self.steps_filename, "w")
348 steps_filename = params.get("steps")
349 if not steps_filename:
351 steps_filename = virt_utils.get_path(test.bindir, steps_filename)
352 if os.path.exists(steps_filename):
353 raise error.TestError("Steps file %s already exists" % steps_filename)
355 StepMaker(vm, steps_filename, test.debugdir, params)
/external/autotest/client/virt/
Dvirt_step_editor.py899 self.steps_filename = None
1114 self.write_steps_file(self.steps_filename)
1142 current_filename = self.steps_filename
1174 self.write_steps_file(self.steps_filename)
1177 if not self.steps_filename:
1192 self.write_steps_file(self.steps_filename)
1195 if not self.steps_filename:
1210 self.write_steps_file(self.steps_filename)
1224 self.write_steps_file(self.steps_filename)
1227 if not self.steps_filename:
[all …]
Dppm_utils.py43 def get_data_dir(steps_filename): argument
47 filename = os.path.basename(steps_filename)
48 return os.path.join(os.path.dirname(steps_filename), "..", "steps_data",