/external/autotest/server/ |
D | 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)
|
D | 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', argument 391 control_file=control_file, control_type=control_type, **dargs) 578 tests=[pairing.control_file], 829 return 'CONTROL FILE: %s' % self.control_file 1020 def __init__(self, machine_label, control_file, platforms=[], argument [all …]
|
/external/autotest/frontend/afe/doctests/ |
D | 001_rpc_test.txt | 435 >>> print cf_info['control_file'] #doctest: +NORMALIZE_WHITESPACE 474 >>> print cf_info_pi['control_file'] #doctest: +NORMALIZE_WHITESPACE 508 ... control_file=cf_info['control_file'], 519 >>> data['control_file'] == cf_info['control_file'] 543 >>> job == {'control_file': cf_info['control_file'], # the control file we used 659 ... control_file=cf_info['control_file'], 679 ... control_file=cf_info['control_file'], 799 ... control_file=sleep_cf_info['control_file'], 809 ... control_file=sleep_cf_info['control_file'], 814 ... control_file=sleep_cf_info['control_file'], [all …]
|
D | 003_misc_rpc_features.txt | 16 >>> print cf_info['control_file'] 44 >>> print cf_info['control_file'] 68 >>> print cf_info['control_file'] 91 >>> print cf_info['control_file'] #doctest: +NORMALIZE_WHITESPACE 132 >>> print cf_info['control_file'] #doctest: +NORMALIZE_WHITESPACE 210 >>> print cf_info['control_file'] #doctest: +NORMALIZE_WHITESPACE 309 >>> from autotest_lib.frontend.afe import test, control_file 317 >>> print control_file.generate_control([FakeTest()], is_server=True) #doctest: +NORMALIZE_WHITESPA…
|
/external/autotest/server/samples/ |
D | profilertest.srv | 9 control_file = [] 11 control_file.append("job.profilers.add(%s)" 14 control_file.append(("job.run_test('profiler_sync', timeout_sync=%d, " 21 control_file.append("job.profilers.delete('%s')" % profiler[0]) 23 params = ["\n".join(control_file), "profile-" + profiler[0], at.host]
|
/external/autotest/frontend/afe/ |
D | site_rpc_interface.py | 125 def create_suite_job(name='', board='', build='', pool='', control_file='', argument 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( 652 control_obj = control_data.parse_control_string(control_file)
|
D | control_file.py | 157 control_file = open(os.path.join(AUTOTEST_DIR, test.path)) 158 control_contents = control_file.read() 159 control_file.close()
|
D | rpc_interface.py | 43 from autotest_lib.frontend.afe import control_file, rpc_utils 762 return dict(control_file='', is_server=False, synch_count=1, 768 cf_info['control_file'] = control_file.generate_control( 861 def create_job_page_handler(name, priority, control_file, control_type, argument 884 control_file = rpc_utils.encode_ascii(control_file) 885 if not control_file: 897 name=name, control_file=control_file, priority=priority, 899 return create_job(name, priority, control_file, control_type, image=image, 904 def create_job(name, priority, control_file, control_type, argument 960 control_file = tools.inject_vars({'args': args}, control_file)
|
D | frontend_test_utils.py | 86 drone_set=None, control_file='control', argument 133 drone_set=drone_set, control_file=control_file,
|
D | 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)
|
D | 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', 321 job.control_file = self.CONTROL_FILE_CONTENTS 371 self.assertEquals(job.control_file, self.CONTROL_FILE_CONTENTS)
|
D | resources.py | 3 from autotest_lib.frontend.afe import control_file, models, rpc_utils 475 return {'control_file': job.control_file, 510 control_file_contents = control_file.generate_control( 518 control_file=control_file_contents, 689 control_file=execution_info['control_file'],
|
D | rpc_utils.py | 875 def create_job_common(name, priority, control_type, control_file=None, argument 981 control_file=control_file, 1008 def encode_ascii(control_file): argument 1018 return control_file.encode('ascii')
|
/external/autotest/site_utils/autoupdate/lib/ |
D | test_control.py | 57 control_file = os.path.join(directory, 59 with open(control_file, 'w') as fh: 62 return control_file
|
/external/autotest/server/cros/dynamic_suite/ |
D | 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/contrib/ |
D | 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/site_utils/autoupdate/ |
D | full_release_test_test.py | 23 def _ControlFileContainsLine(control_file, line): argument 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/site_utils/presubmit_hooks/ |
D | 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/ |
D | test_runner_utils_unittest.py | 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),
|
D | lxc_functional_test.py | 171 with open(host_control_file, 'w') as control_file: 172 control_file.write(TEST_CONTROL_CONTENT)
|
/external/autotest/site_utils/docgen/ |
D | 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): argument 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/ |
D | job.py | 172 self.show_control_file = options.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)
|
/external/autotest/client/cros/ |
D | 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/client/tests/kvm/ |
D | 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/contrib/virt/ |
D | site_job.py | 61 self.command_line_options.control_file): 157 input_file = self.command_line_options.control_file
|