Home
last modified time | relevance | path

Searched refs:dry_run (Results 1 – 25 of 190) sorted by relevance

12345678

/external/autotest/venv/skylab_suite/
Dsuite_runner.py35 def run(client, test_specs, suite_handler, dry_run=False): argument
46 _resume_suite(client, test_specs, suite_handler, dry_run)
49 _run_suite(test_specs, suite_handler, dry_run)
52 def _resume_suite(client, test_specs, suite_handler, dry_run=False): argument
61 _create_test_tasks(not_yet_scheduled, suite_handler, suite_id, dry_run)
64 _wait_for_results(suite_handler, dry_run=dry_run)
117 def _run_suite(test_specs, suite_handler, dry_run=False): argument
123 _create_test_tasks(test_specs, suite_handler, suite_id, dry_run)
127 _wait_for_results(suite_handler, dry_run=dry_run)
130 def _create_test_tasks(test_specs, suite_handler, suite_id, dry_run=False): argument
[all …]
/external/toolchain-utils/
Dauto_delete_nightly_test_data.py21 def CleanNumberedDir(s, dry_run=False): argument
30 if misc.DeleteChromeOsTree(cd, dry_run=dry_run):
51 if dry_run:
62 def CleanDatedDir(dated_dir, dry_run=False): argument
70 if not CleanNumberedDir(s, dry_run):
98 def CleanChromeOsTmpFiles(chroot_tmp, days_to_preserve, dry_run): argument
110 if dry_run:
125 dry_run): argument
137 if dry_run:
152 def CleanChromeOsTmpAndImages(days_to_preserve=1, dry_run=False): argument
[all …]
/external/python/cpython2/Lib/distutils/
Ddir_util.py19 def mkpath(name, mode=0777, verbose=1, dry_run=0): argument
70 if not dry_run:
82 def create_tree(base_dir, files, mode=0777, verbose=1, dry_run=0): argument
101 mkpath(dir, mode, verbose=verbose, dry_run=dry_run)
104 preserve_symlinks=0, update=0, verbose=1, dry_run=0): argument
126 if not dry_run and not os.path.isdir(src):
132 if dry_run:
138 if not dry_run:
155 if not dry_run:
163 verbose=verbose, dry_run=dry_run))
[all …]
Darchive_util.py51 def make_tarball(base_name, base_dir, compress="gzip", verbose=0, dry_run=0, argument
81 mkpath(os.path.dirname(archive_name), dry_run=dry_run)
100 if not dry_run:
116 spawn(cmd, dry_run=dry_run)
121 def make_zipfile(base_name, base_dir, verbose=0, dry_run=0): argument
136 mkpath(os.path.dirname(zip_filename), dry_run=dry_run)
148 dry_run=dry_run)
161 if not dry_run:
194 dry_run=0, owner=None, group=None): argument
215 if not dry_run:
[all …]
Dspawn.py18 def spawn(cmd, search_path=1, verbose=0, dry_run=0): argument
38 _spawn_posix(cmd, search_path, dry_run=dry_run)
40 _spawn_nt(cmd, search_path, dry_run=dry_run)
42 _spawn_os2(cmd, search_path, dry_run=dry_run)
63 def _spawn_nt(cmd, search_path=1, verbose=0, dry_run=0): argument
70 if not dry_run:
87 def _spawn_os2(cmd, search_path=1, verbose=0, dry_run=0): argument
93 if not dry_run:
116 def _spawn_posix(cmd, search_path=1, verbose=0, dry_run=0): argument
118 if dry_run:
Dcmd.py349 util.execute(func, args, msg, dry_run=self.dry_run)
352 dir_util.mkpath(name, mode, dry_run=self.dry_run)
365 dry_run=self.dry_run)
377 dry_run=self.dry_run)
381 return file_util.move_file(src, dst, dry_run = self.dry_run)
386 spawn(cmd, search_path, dry_run= self.dry_run)
391 base_dir, dry_run=self.dry_run,
Dutil.py293 def execute (func, args, msg=None, verbose=0, dry_run=0): argument
308 if not dry_run:
331 verbose=1, dry_run=0, argument
388 if not dry_run:
428 spawn(cmd, dry_run=dry_run)
430 dry_run=dry_run)
463 if not dry_run:
/external/python/cpython3/Lib/distutils/
Ddir_util.py17 def mkpath(name, mode=0o777, verbose=1, dry_run=0): argument
68 if not dry_run:
80 def create_tree(base_dir, files, mode=0o777, verbose=1, dry_run=0): argument
97 mkpath(dir, mode, verbose=verbose, dry_run=dry_run)
100 preserve_symlinks=0, update=0, verbose=1, dry_run=0): argument
122 if not dry_run and not os.path.isdir(src):
128 if dry_run:
134 if not dry_run:
151 if not dry_run:
159 verbose=verbose, dry_run=dry_run))
[all …]
Darchive_util.py55 def make_tarball(base_name, base_dir, compress="gzip", verbose=0, dry_run=0, argument
87 mkpath(os.path.dirname(archive_name), dry_run=dry_run)
106 if not dry_run:
122 spawn(cmd, dry_run=dry_run)
127 def make_zipfile(base_name, base_dir, verbose=0, dry_run=0): argument
137 mkpath(os.path.dirname(zip_filename), dry_run=dry_run)
149 dry_run=dry_run)
161 if not dry_run:
207 dry_run=0, owner=None, group=None): argument
228 if not dry_run:
[all …]
Dcmd.py335 util.execute(func, args, msg, dry_run=self.dry_run)
338 dir_util.mkpath(name, mode, dry_run=self.dry_run)
347 dry_run=self.dry_run)
356 not self.force, dry_run=self.dry_run)
360 return file_util.move_file(src, dst, dry_run=self.dry_run)
365 spawn(cmd, search_path, dry_run=self.dry_run)
370 dry_run=self.dry_run,
Dspawn.py16 def spawn(cmd, search_path=1, verbose=0, dry_run=0): argument
36 _spawn_posix(cmd, search_path, dry_run=dry_run)
38 _spawn_nt(cmd, search_path, dry_run=dry_run)
59 def _spawn_nt(cmd, search_path=1, verbose=0, dry_run=0): argument
66 if not dry_run:
88 def _spawn_posix(cmd, search_path=1, verbose=0, dry_run=0): argument
90 if dry_run:
/external/pdfium/testing/tools/coverage/
Dcoverage_report.py62 self.dry_run = args['dry_run']
102 if not self.dry_run:
109 def check_output(self, args, dry_run=False, env=None): argument
111 if dry_run:
121 def call(self, args, dry_run=False, env=None): argument
123 if dry_run:
133 def call_lcov(self, args, dry_run=False, needs_directory=True): argument
148 return self.call(lcov_args, dry_run=dry_run, env=self.lcov_env)
223 return self.call(call_args, dry_run=self.dry_run) == 0
242 if self.call_lcov(['--zerocounters'], dry_run=self.dry_run):
[all …]
/external/webrtc/tools/autoroller/
Droll_chromium_revision.py312 def _EnsureUpdatedMasterBranch(dry_run): argument
317 if not dry_run:
324 def _CreateRollBranch(dry_run): argument
326 if not dry_run:
330 def _RemovePreviousRollBranch(dry_run): argument
336 if not dry_run:
341 def _LocalCommit(commit_msg, dry_run): argument
343 if not dry_run:
348 def _UploadCL(dry_run, rietveld_email=None): argument
350 if not dry_run:
[all …]
/external/libyuv/files/tools_libyuv/autoroller/
Droll_deps.py359 def _EnsureUpdatedMasterBranch(dry_run): argument
364 if not dry_run:
371 def _CreateRollBranch(dry_run): argument
373 if not dry_run:
377 def _RemovePreviousRollBranch(dry_run): argument
383 if not dry_run:
388 def _LocalCommit(commit_msg, dry_run): argument
390 if not dry_run:
395 def _UploadCL(dry_run, rietveld_email=None): argument
397 if not dry_run:
[all …]
/external/autotest/site_utils/stable_images/
Dstable_version.py89 def __init__(self, afe, dry_run): argument
91 self._dry_run = dry_run
248 def _create_version_map_handler(image_type, afe, dry_run): argument
249 return _IMAGE_TYPE_HANDLERS[image_type](afe, dry_run)
329 def set_mapping(afe, image_type, key, version, dry_run): argument
342 if dry_run:
344 handler = _create_version_map_handler(image_type, afe, dry_run)
367 def delete_mapping(afe, image_type, key, dry_run): argument
379 if dry_run:
381 handler = _create_version_map_handler(image_type, afe, dry_run)
[all …]
/external/autotest/site_utils/
Dbalance_pools.py117 def _log_info(dry_run, message, *args): argument
132 if dry_run:
316 def _exchange_labels(dry_run, hosts, target_pool, spare_pool): argument
334 _log_info(dry_run, 'Transferring %d DUTs from %s to %s.',
363 if not dry_run:
410 dry_run = arguments.dry_run
413 _log_info(dry_run, 'Balancing %s %s pool:', labels, main_pool.pool)
414 _log_info(dry_run,
425 _log_info(dry_run, 'Target is %d working DUTs; %s.',
428 _log_info(dry_run,
[all …]
Dlabel_cleaner.py129 def _delete_labels(conn, labels, dry_run): argument
133 if dry_run:
141 def delete_labels(conn, labels, max_delete, dry_run=False): argument
152 _delete_labels(conn, chunk, dry_run)
215 delete_labels(conn, to_delete, options.max_delete, options.dry_run)
279 if options.dry_run:
306 if options.dry_run:
/external/toolchain-utils/automation/server/
Dserver.py22 def __init__(self, machines_file=None, dry_run=False): argument
29 CommandExecuter.Configure(dry_run)
39 def ExecuteJobGroup(self, job_group, dry_run=False): argument
42 job_group, dry_run)
45 job.dry_run = dry_run
102 server = Server(options.machines_file, options.dry_run)
/external/python/cpython3/Lib/distutils/command/
Dclean.py53 remove_tree(self.build_temp, dry_run=self.dry_run)
64 remove_tree(directory, dry_run=self.dry_run)
71 if not self.dry_run:
/external/python/cpython2/Lib/distutils/command/
Dclean.py55 remove_tree(self.build_temp, dry_run=self.dry_run)
66 remove_tree(directory, dry_run=self.dry_run)
73 if not self.dry_run:
/external/python/setuptools/setuptools/command/
Dbdist_egg.py156 kw.setdefault('dry_run', self.dry_run)
184 if not self.dry_run:
208 if not self.dry_run:
216 if not self.dry_run:
234 dry_run=self.dry_run, mode=self.gen_header())
236 remove_tree(self.bdist_dir, dry_run=self.dry_run)
307 if not self.dry_run:
308 mkpath(os.path.dirname(self.egg_output), dry_run=self.dry_run)
471 def make_zipfile(zip_filename, base_dir, verbose=0, dry_run=0, compress=True, argument
481 mkpath(os.path.dirname(zip_filename), dry_run=dry_run)
[all …]
Dbuild_ext.py100 dry_run=self.dry_run
163 compiler=self.compiler, dry_run=self.dry_run, force=self.force
242 if not self.dry_run:
273 force=True, dry_run=self.dry_run)
277 force=True, dry_run=self.dry_run)
278 if os.path.exists(stub_file) and not self.dry_run:
/external/jsoncpp/devtools/
Dlicenseupdater.py16 def update_license( path, dry_run, show_diff ): argument
35 if not dry_run:
46 def update_license_in_source_directories( source_dirs, dry_run, show_diff ): argument
63 update_license( source, dry_run, show_diff )
86 update_license_in_source_directories( args, options.dry_run, options.show_diff )
/external/python/cpython2/Lib/distutils/tests/
Dsetuptools_build_ext.py69 dry_run=self.dry_run
128 compiler=self.compiler, dry_run=self.dry_run, force=self.force
213 if not self.dry_run:
240 force=True, dry_run=self.dry_run)
244 force=True, dry_run=self.dry_run)
245 if os.path.exists(stub_file) and not self.dry_run:
/external/python/cpython2/Lib/
Dshutil.py352 def _make_tarball(base_name, base_dir, compress="gzip", verbose=0, dry_run=0, argument
385 if not dry_run:
407 if not dry_run:
416 def _call_external_zip(base_dir, zip_filename, verbose, dry_run, logger): argument
425 if dry_run:
438 def _make_zipfile(base_name, base_dir, verbose=0, dry_run=0, logger=None): argument
453 if not dry_run:
465 _call_external_zip(base_dir, zip_filename, verbose, dry_run, logger)
471 if not dry_run:
542 dry_run=0, owner=None, group=None, logger=None): argument
[all …]

12345678