Home
last modified time | relevance | path

Searched refs:work_dir (Results 1 – 21 of 21) sorted by relevance

/external/jsoncpp/devtools/
Dbatchbuild.py56 def __init__( self, desc, work_dir, source_dir ): argument
58 self.work_dir = work_dir
60 self.cmake_log_path = os.path.join( work_dir, 'batchbuild_cmake.log' )
61 self.build_log_path = os.path.join( work_dir, 'batchbuild_build.log' )
82 cmd = ['cmake', '--build', self.work_dir]
90 …ocess = subprocess.Popen( cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, cwd=self.work_dir,
100 if os.path.isdir( self.work_dir ):
101 print(' Removing work directory', self.work_dir)
102 shutil.rmtree( self.work_dir, ignore_errors=True )
103 if not os.path.isdir( self.work_dir ):
[all …]
/external/skia/tools/android/
Dupload_to_android.py55 def init_work_dir(work_dir): argument
56 if not os.path.isdir(work_dir):
57 print 'Creating %s' % work_dir
58 os.makedirs(work_dir)
61 repo_dir = os.path.join(work_dir, 'bin')
77 android_dir = os.path.join(work_dir, 'android-repo')
205 def upload_to_android(work_dir, modifier): argument
206 repo_binary = init_work_dir(work_dir)
238 upload_to_android(args.work_dir, FetchModifier(args.change_num, args.debug))
/external/skqp/tools/android/
Dupload_to_android.py55 def init_work_dir(work_dir): argument
56 if not os.path.isdir(work_dir):
57 print 'Creating %s' % work_dir
58 os.makedirs(work_dir)
61 repo_dir = os.path.join(work_dir, 'bin')
77 android_dir = os.path.join(work_dir, 'android-repo')
205 def upload_to_android(work_dir, modifier): argument
206 repo_binary = init_work_dir(work_dir)
238 upload_to_android(args.work_dir, FetchModifier(args.change_num, args.debug))
/external/libcxx/utils/libcxx/test/
Dexecutor.py39 def run(self, exe_path, cmd=None, work_dir='.', file_deps=None, env=None): argument
41 if work_dir == '.':
42 work_dir = os.getcwd()
43 out, err, rc = executeCommand(cmd, cwd=work_dir, env=env)
59 def run(self, exe_path, cmd=None, work_dir='.', file_deps=None, env=None): argument
61 return self.chain.run(exe_path, self.commandPrefix + cmd, work_dir,
73 def run(self, exe_path, cmd=None, work_dir='.', file_deps=None, env=None): argument
75 return self.chain.run(cmd + self.commandPostfix, work_dir, file_deps,
119 def run(self, exe_path, cmd=None, work_dir='.', file_deps=None, env=None): argument
/external/u-boot/tools/buildman/
Dbuilderthread.py116 def RunCommit(self, commit_upto, brd, work_dir, do_config, config_only, argument
143 out_dir = work_dir
149 out_dir = os.path.join(work_dir, out_rel_dir)
189 git_dir = os.path.join(work_dir, '.git')
190 gitutil.Checkout(commit.hash, git_dir, work_dir,
199 cwd = work_dir
200 src_dir = os.path.realpath(work_dir)
415 work_dir = self.builder.GetThreadDir(self.thread_num)
424 work_dir, do_config, self.builder.config_only,
434 brd, work_dir, True, False, True, False)
[all …]
/external/toolchain-utils/automation/server/
Djob_executer.py54 self._RunRemotely(cmd.RmTree(self.job.work_dir), 'Cleanup workdir failed.')
62 cmd.MakeDir(self.job.work_dir, self.job.logs_dir, self.job.results_dir),
71 to_folder = os.path.join(self.job.work_dir, dependency.dest)
72 from_folder = os.path.join(dependency.job.work_dir, dependency.src)
93 cwd=self.job.work_dir)),
110 self.job.primary_machine.hostname, self.job.work_dir)
/external/vboot_reference/scripts/image_signing/
Dconvert_recovery_to_full_ssd.sh39 work_dir=$(make_temp_dir)
42 unzip -o $IMAGE_ZIP chromiumos_base_image.bin -d ${work_dir}
44 mv ${work_dir}/chromiumos_base_image.bin ${SSD_IMAGE}
/external/toolchain-utils/binary_search_tool/
Drun_bisect_test.py18 work_dir = os.path.join(top_dir, TEST_DIR, 'work')
19 cmd = 'rm -f %s/*.o' % work_dir
47 work_dir = os.path.join(top_dir, TEST_DIR, 'work')
48 cmd = 'rm -f %s/*.o' % work_dir
/external/python/cpython3/Lib/test/
Dtest_cmd_line_script.py579 with support.temp_dir() as work_dir, support.temp_dir() as script_dir:
583 p = spawn_python("-Es", script_name, cwd=work_dir)
586 self.assertNotIn(work_dir, out_by_name)
588 p = spawn_python("-Es", script_dir, cwd=work_dir)
592 p = spawn_python("-I", script_dir, cwd=work_dir)
611 with support.temp_dir() as work_dir:
612 script_dir = os.path.join(work_dir, "script_pkg")
618 p = spawn_python("-sm", "script_pkg.__main__", cwd=work_dir)
620 self.assertEqual(out_by_module[0], work_dir)
623 p = spawn_python("-sm", "script_pkg", cwd=work_dir)
[all …]
Dtest_shutil.py965 work_dir = os.path.dirname(tmpdir2)
968 with support.change_cwd(work_dir):
982 with support.change_cwd(work_dir):
1054 work_dir = os.path.dirname(tmpdir2)
1057 with support.change_cwd(work_dir):
1070 with support.change_cwd(work_dir):
/external/v8/tools/release/
Dauto_push.py83 if self._options.work_dir:
84 args.extend(["--work-dir", self._options.work_dir])
Dcommon_includes.py425 os.path.join(self._options.work_dir, "v8"))
760 if not os.path.exists(self._options.work_dir):
761 os.makedirs(self._options.work_dir)
763 self.Command("fetch", "v8", cwd=self._options.work_dir)
877 if not options.work_dir:
878 options.work_dir = "/tmp/v8-release-scripts-work-dir"
Dtest_scripts.py685 work_dir = self.MakeEmptyTempDirectory()
695 Cmd("fetch v8", "", cwd=work_dir),
697 FakeScript(fake_config, self).Run(["--work-dir", work_dir])
/external/toolchain-utils/automation/common/
Djob.py111 ('$JOB_ID', str(self.id)), ('$JOB_TMP', self.work_dir),
137 return os.path.join(self.work_dir, 'results')
148 def work_dir(self): member in Job
/external/autotest/server/
Dsite_server_job_utils.py87 def run_test(self, client_at, work_dir='.', server_job=None): argument
109 client_at.run_test(self.test_name, results_dir=work_dir,
Dsite_gtest_runner.py22 def run(self, gtest_entry, machine, work_dir='.'): argument
42 self._results_dir = work_dir
/external/clang/tools/scan-build-py/libear/
D__init__.py170 with TemporaryDirectory() as work_dir:
172 with open(os.path.join(work_dir, src_file), 'w') as handle:
176 cwd=work_dir)
/external/python/cpython2/Lib/test/
Dtest_shutil.py384 work_dir = os.path.dirname(tmpdir2)
387 with support.change_cwd(work_dir):
401 with support.change_cwd(work_dir):
473 work_dir = os.path.dirname(tmpdir2)
476 with support.change_cwd(work_dir):
490 with support.change_cwd(work_dir):
/external/toolchain-utils/automation/server/monitor/
Ddashboard.py61 return {'text': [('Label', job.label), ('Directory', job.work_dir)],
/external/autotest/utils/
Dexternal_packages.py1301 work_dir = os.getcwd()
1306 os.chdir(work_dir)
/external/autotest/docs/
Dbest-practices.md472 work_dir = os.path.join(os.getcwd(), 'src')
473 utils.update_version(os.getcwd(), True, version, setup, work_dir)