/external/autotest/server/cros/dynamic_suite/ |
D | tools_unittest.py | 71 control_file = tools.inject_vars(v, 'sample') 72 self.assertTrue(tools._INJECT_BEGIN in control_file) 73 self.assertTrue(tools._INJECT_END in control_file) 77 control_file = """ 87 control_file = tools.remove_injection(control_file) 88 self.assertTrue(control_file.strip().startswith('def init():')) 92 control_file = """ 100 control_file = tools.remove_legacy_injection(control_file) 101 self.assertTrue(control_file.strip().startswith('def init():')) 102 control_file = tools.remove_injection(control_file) [all …]
|
D | tools.py | 221 control_file = '' 222 control_file += _INJECT_BEGIN + '\n' 226 control_file += "%s=%s\n" % (key, repr(value)) 228 control_file += "%s=%r\n" % (key, value) 231 return control_file + args_dict_str + _INJECT_END + '\n' + control_file_in
|
/external/autotest/server/ |
D | standalone_profiler.py | 58 control_file = [] 60 control_file.append("job.profilers.add(%s)" 66 control_file.append(profiler_sync_call) 69 control_file.append("job.profilers.delete('%s')" % profiler[0]) 71 return "\n".join(control_file)
|
D | server_job_unittest.py | 45 _, self.control_file = tempfile.mkstemp() 49 os.remove(self.control_file) 64 self.control_file,
|
D | frontend.py | 648 def create_job(self, control_file, name=' ', argument 653 control_file=control_file, control_type=control_type, **dargs) 762 return 'CONTROL FILE: %s' % self.control_file
|
D | autotest.py | 459 def run(self, control_file, results_dir='.', host=None, timeout=None, argument 496 self._do_run(control_file, results_dir, host, atrun, timeout, 510 def _do_run(self, control_file, results_dir, host, atrun, timeout, argument 532 tmppath = utils.get(control_file, local_copy=True) 575 if os.path.abspath(tmppath) != os.path.abspath(control_file):
|
D | server_job.py | 442 control_file = f.read() 445 return re.sub('\r', '', control_file) 1086 control_file = self._load_control_file(path) 1087 self.run(control=control_file, control_file_dir=self._USE_TEMP_DIR)
|
/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 | control_file.py | 33 control_file = open(os.path.join(AUTOTEST_DIR, test.path)) 34 control_contents = control_file.read() 35 control_file.close() 225 control_file = control_file_info_list[test.path] 227 control_file = cfile_getter.get_control_file_contents( 229 raw_control_files.append(control_file)
|
D | rpc_interface.py | 54 from autotest_lib.frontend.afe import control_file as control_file_lib 884 return dict(control_file='', is_server=False, synch_count=1, 898 def create_job_page_handler(name, priority, control_file, control_type, argument 941 control_file = rpc_utils.encode_ascii(control_file) 942 if not control_file: 956 name=name, control_file=control_file, priority=priority, 960 return create_job(name, priority, control_file, control_type, image=image, 968 control_file, argument 1039 control_file = tools.inject_vars(test_args, control_file) 1046 control_file=control_file, [all …]
|
D | frontend_test_utils.py | 91 drone_set=None, control_file='control', argument 134 drone_set=drone_set, control_file=control_file,
|
D | rpc_interface_unittest.py | 92 control_file='foo', 791 control_file='foo', 885 control_file='control file', 1000 job = self._create_job(shard=shard, control_file='foo') 1343 control_file='foo', 1357 control_file='foo', 1372 control_file='foo', 1377 job.control_file = CONTROL_FILE 1387 control_file='foo', 1392 job.control_file = CONTROL_FILE [all …]
|
D | rpc_utils.py | 747 control_file=None, argument 807 control_file=control_file, 864 def encode_ascii(control_file): argument 874 return control_file.encode('ascii')
|
D | models.py | 1515 control_file = dbmodels.TextField(null=True, blank=True) variable in Job 1599 control_file = options.get('control_file') 1616 control_file=control_file,
|
/external/autotest/site_utils/ |
D | test_runner_utils_unittest.py | 201 for control_file in self._suite_control_files: 202 job_id = afe.create_job(control_file, hosts=self._hosts) 204 self._jobs_to_tests[job_id] = control_file 217 control_file = self._jobs_to_tests.get(job_id) 218 job_id = afe.create_job(control_file, hosts=self._hosts) 220 self._jobs_to_tests[job_id] = control_file 259 for control_file in suite_control_files: 261 mox.ContainsAttributeValue('control_file', control_file),
|
/external/autotest/server/site_tests/servo_Verification/ |
D | servo_Verification.py | 53 control_file = control_data.text 55 if anchor not in control_file: 59 run_test_str = control_file[control_file.index(anchor) + len(anchor):]
|
/external/autotest/server/site_tests/hardware_StorageQual/ |
D | generate_storage_qual_control_files.py | 332 control_file = TEMPLATE.format( variable 343 suite, label, test, i), control_file) 346 control_file = TEMPLATE.format( variable 357 control_file)
|
/external/autotest/server/site_tests/hardware_StorageQualV2/ |
D | generate_control_files.py | 83 control_file = template.format( variable 93 _write_control_file(control_file_name, control_file)
|
/external/autotest/site_utils/presubmit_hooks/ |
D | check_control_files.py | 270 control_file = re.search(r'.*/control(?:\..+)?$', file_path) 271 if control_file: 272 ctrl_file_path = control_file.group(0)
|
/external/autotest/cli/ |
D | job.py | 177 self.show_control_file = options.control_file 441 if not options.control_file and not options.test: 444 if options.control_file and options.test: 447 if options.control_file: 449 control_file_f = open(options.control_file) 456 'control-file: %s' % options.control_file)
|
/external/autotest/client/bin/ |
D | job_unittest.py | 37 _, self.control_file = tempfile.mkstemp() 42 os.remove(self.control_file) 107 self.job.__init__(self.control_file, options) 312 control_file = "blah" 313 self.job.control_set(control_file) 314 self.assertEquals(self.job.control_get(), os.path.abspath(control_file))
|
/external/autotest/site_utils/lxc/ |
D | lxc_functional_test.py | 274 with open(host_control_file, 'w') as control_file: 275 control_file.write(TEST_CONTROL_CONTENT)
|
D | container.py | 551 def install_control_file(self, control_file): argument 559 os.path.basename(control_file)) 560 self.copy(control_file, dst)
|
/external/autotest/client/cros/power/ |
D | power_utils.py | 822 control_file = os.path.join(self._path, 'control') 823 if not os.path.exists(control_file): 827 out = utils.read_one_line(control_file) 828 logging.debug('USB: control set to %s for %s', out, control_file)
|
/external/autotest/tko/ |
D | parse.py | 292 for control_file in _HARDCODED_CONTROL_FILE_NAMES: 293 control = os.path.join(path, control_file)
|