HomeSort by relevance Sort by last modified time
    Searched refs:control_file (Results 1 - 25 of 33) sorted by null

1 2

  /external/autotest/server/
standalone_profiler.py 52 control_file = []
54 control_file.append("job.profilers.add(%s)"
60 control_file.append(profiler_sync_call)
63 control_file.append("job.profilers.delete('%s')" % profiler[0])
65 return "\n".join(control_file)
frontend.py 371 control_file = self.generate_control_file(
373 if control_file.is_server:
378 control_file.dependencies
379 dargs['control_file'] = control_file.control_file
381 dargs['synch_count'] = control_file.synch_count
388 def create_job(self, control_file, name=' ', priority='Medium',
391 control_file=control_file, control_type=control_type, **dargs
    [all...]
autotest.py 337 def run(self, control_file, results_dir='.', host=None, timeout=None,
343 @param control_file: An open file-like-obj of the control file.
372 self._do_run(control_file, results_dir, host, atrun, timeout,
386 def _do_run(self, control_file, results_dir, host, atrun, timeout,
408 tmppath = utils.get(control_file, local_copy=True)
449 # Copy control_file to remote_control_file on the host
451 if os.path.abspath(tmppath) != os.path.abspath(control_file):
    [all...]
  /external/autotest/site_utils/autoupdate/lib/
test_control.py 57 control_file = os.path.join(directory,
59 with open(control_file, 'w') as fh:
62 return control_file
  /external/autotest/site_utils/autoupdate/
full_release_test_test.py 23 def _ControlFileContainsLine(control_file, line):
24 """Returns true if the string |control_file| contains line |line|."""
25 for current_line in control_file.splitlines():
35 control_file = f.read()
37 control_file, "source_release = '%s'" % src):
42 control_file, "target_release = '%s'" % target):
  /external/autotest/contrib/
always_failing_tests.py 78 for control_file in fs_getter.get_control_file_list():
79 with open(control_file, 'rb') as f:
81 hash_to_file[h] = control_file.replace(common.autotest_dir, '')\
92 job_to_hash[job.id] = md5(job.control_file)
  /external/autotest/server/cros/dynamic_suite/
tools.py 144 control_file = ''
148 control_file += "%s=%s\n" % (key, repr(value))
150 control_file += "%s=%r\n" % (key, value)
153 return control_file + args_dict_str + control_file_in
  /external/autotest/site_utils/presubmit_hooks/
check_control_files.py 196 control_file = re.search(r'.*/control(?:\.\w+)?$', file_path)
197 if control_file:
198 ctrl_data = control_data.parse_control(control_file.group(0),
  /external/autotest/site_utils/
test_runner_utils_unittest.py 88 setattr(job1, 'control_file', 'c1')
94 setattr(job2, 'control_file', 'c2')
185 for control_file in self._suite_control_files:
186 afe.create_job(control_file, hosts=self._hosts)
211 for control_file in suite_control_files:
213 mox.ContainsAttributeValue('control_file', control_file),
lxc_functional_test.py 171 with open(host_control_file, 'w') as control_file:
172 control_file.write(TEST_CONTROL_CONTENT)
  /external/autotest/frontend/afe/
site_rpc_interface.py 125 def create_suite_job(name='', board='', build='', pool='', control_file='',
138 @param name: The test name if control_file is supplied, otherwise the name
216 control_file = getter.get_control_file_contents_by_name(suite_name)
221 if not control_file:
224 control_file = _get_control_file_contents_by_name(test_source_build,
260 control_file = tools.inject_vars(inject_dict, control_file)
267 control_file=control_file,
650 control_file = cfile_getter.get_control_file_contents
    [all...]
control_file.py 157 control_file = open(os.path.join(AUTOTEST_DIR, test.path))
158 control_contents = control_file.read()
159 control_file.close()
frontend_test_utils.py 86 drone_set=None, control_file='control',
133 drone_set=drone_set, control_file=control_file,
rpc_interface.py 43 from autotest_lib.frontend.afe import control_file, rpc_utils
755 control_file: str, The control file text.
762 return dict(control_file='', is_server=False, synch_count=1,
768 cf_info['control_file'] = control_file.generate_control(
    [all...]
resources_test.py 17 from autotest_lib.frontend.afe import control_file, models, model_attributes
283 self.god.stub_with(control_file, 'read_control_file',
288 self.assert_(self.CONTROL_FILE_CONTENTS in info['control_file'])
321 job.control_file = self.CONTROL_FILE_CONTENTS
343 self.assertEquals(info['control_file'], self.CONTROL_FILE_CONTENTS)
360 'execution_info': {'control_file': self.CONTROL_FILE_CONTENTS,
371 self.assertEquals(job.control_file, self.CONTROL_FILE_CONTENTS)
models_test.py 271 job = self._create_job(hosts=[1], control_file=None,
288 control_file=None, parameterized_job=None)
293 control_file=object(), parameterized_job=object())
298 control_file=None, parameterized_job=object())
305 control_file=object(), parameterized_job=None)
438 'jobs': [{'control_file': 'some control file\n\n\n',
506 {'control_file': 'some control file\n\n\n',
resources.py 3 from autotest_lib.frontend.afe import control_file, models, rpc_utils
435 'control_file': '',
475 return {'control_file': job.control_file,
510 control_file_contents = control_file.generate_control(
518 control_file=control_file_contents,
679 cls._check_for_required_fields(execution_info, ('control_file',
689 control_file=execution_info['control_file'],
    [all...]
site_rpc_interface_unittest.py 100 control_file=mox.And(mox.StrContains(self._BOARD),
319 control_file='CONTROL FILE'),
470 return [{'control_file': 'foo',
552 control_file='foo',
642 control_file='foo',
    [all...]
models.py 1358 control_file = dbmodels.TextField(null=True, blank=True) variable in class:Job
    [all...]
rpc_utils.py     [all...]
  /external/autotest/client/tests/kvm/
get_started.py 153 control_file = os.path.join(kvm_test_dir, 'control') variable
158 logging.info("%s %s", autotest_bin, control_file)
  /external/autotest/site_utils/docgen/
CreateDocs.py 258 control_file = os.path.join(test_dir, 'control')
260 docstring = self._GetDocString(control_file, test)
263 def _GetDocString(self, control_file, test):
267 control_file: string, absolute path to test control file.
289 if not os.path.isfile(control_file):
290 self.logger.error('Cannot find: %s', control_file)
293 control = compiler.parseFile(control_file)
296 control_file, e)
  /external/autotest/cli/
job.py 172 self.show_control_file = options.control_file
247 keys.append('control_file')
464 if not options.control_file and not options.test:
467 if options.control_file and options.test:
473 if options.control_file:
475 control_file_f = open(options.control_file)
482 'control-file: %s' % options.control_file)
488 self.data['control_file'] = control_file_data
549 self.data['control_file'] = cf_info['control_file']
    [all...]
  /external/autotest/client/cros/
power_utils.py 650 control_file = os.path.join(self._path, 'control')
651 if not os.path.exists(control_file):
655 out = utils.read_one_line(control_file)
656 logging.debug('USB: control set to %s for %s', out, control_file)
  /external/autotest/contrib/virt/
site_job.py 61 self.command_line_options.control_file):
63 self.data['control_file'] = open(generated_control_file).read()
157 input_file = self.command_line_options.control_file

Completed in 7701 milliseconds

1 2