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

1 2 3

  /external/toolchain-utils/
remote_test.py 30 '--chromeos_root',
31 dest='chromeos_root',
38 if options.chromeos_root is None:
39 Usage(parser, 'chromeos_root must be given')
44 options.chromeos_root = os.path.expanduser(options.chromeos_root)
49 chromeos_root=options.chromeos_root,
60 chromeos_root=options.chromeos_root)
    [all...]
cros_login.py 69 def RestartUI(remote, chromeos_root, login=True):
70 chromeos_root = os.path.expanduser(chromeos_root)
74 ce.CrosRunCommand(command, machine=remote, chromeos_root=chromeos_root)
88 chromeos_root=chromeos_root,
92 chromeos_root=chromeos_root,
107 '--chromeos_root',
    [all...]
image_chromeos.py 39 def CheckForCrosFlash(chromeos_root, remote, log_level):
45 chromeos_root=chromeos_root,
59 '--chromeos_root',
60 dest='chromeos_root',
102 if options.chromeos_root is None:
103 Usage(parser, '--chromeos_root must be set')
108 options.chromeos_root = os.path.expanduser(options.chromeos_root)
111 board = cmd_executer.CrosLearnBoard(options.chromeos_root, options.remote
    [all...]
build_chromeos.py 38 parser.add_argument('--chromeos_root',
39 dest='chromeos_root',
108 if options.chromeos_root is None:
109 Usage(parser, '--chromeos_root must be set')
110 options.chromeos_root = os.path.expanduser(options.chromeos_root)
111 scripts_dir = os.path.join(options.chromeos_root, 'src', 'scripts')
113 Usage(parser, '--chromeos_root must be set up first. Use setup_chromeos.py')
132 misc.RemoveChromeBrowserObjectFiles(options.chromeos_root, options.board)
155 ret = cmd_executer.ChrootRunCommand(options.chromeos_root, command
    [all...]
remote_gcc_build.py 46 def FindVersionForToolchain(branch, chromeos_root):
51 manifest_dir = os.path.join(chromeos_root, 'manifest-internal')
186 def UploadManifest(manifest, chromeos_root, branch='master'):
187 """Copy the manifest to $chromeos_root/manifest-internal and upload."""
188 chromeos_root = misc.CanonicalizePath(chromeos_root)
189 manifest_dir = os.path.join(chromeos_root, 'manifest-internal')
211 def GetManifestPatch(manifests, version, chromeos_root, branch='master'):
216 return UploadManifest(to_file, chromeos_root, branch)
233 def ReplaceSysroot(chromeos_root, dest_dir, target)
    [all...]
weekly_report.py 23 chromeos_root, cmd_executer):
55 chromeos_root: %s
58 """ % (test_name, chromeos_root, os.path.join(test_path,
66 chromeos_root, cmd_executer):
95 chromeos_root: %s
98 """ % (vanilla_image_path.split('/')[-1], chromeos_root,
109 chromeos_root: %s
112 """ % (test_name, chromeos_root, os.path.join(test_path,
199 chromeos_root = None
213 chromeos_root = chroo
    [all...]
tc_enter_chroot.py 90 '--chromeos_root',
91 dest='chromeos_root',
127 chromeos_root = options.chromeos_root
129 chromeos_root = os.path.expanduser(chromeos_root)
133 chromeos_root = os.path.abspath(chromeos_root)
150 if not os.path.exists(chromeos_root):
151 logger.GetLogger().LogError('chromeos_root ' + options.chromeos_root
    [all...]
build_chrome_browser.py 35 parser.add_argument('--chromeos_root',
36 dest='chromeos_root',
103 if options.chromeos_root is None:
104 Usage(parser, '--chromeos_root must be set')
123 options.chromeos_root = misc.CanonicalizePath(options.chromeos_root)
148 misc.RemoveChromeBrowserObjectFiles(options.chromeos_root, options.board)
155 ret = cmd_executer.ChrootRunCommandWOutput(options.chromeos_root, command)
182 ret = cmd_executer.ChrootRunCommand(options.chromeos_root,
191 ret = cmd_executer.ChrootRunCommand(options.chromeos_root, command
    [all...]
  /external/toolchain-utils/crosperf/
label.py 23 chromeos_root,
36 chromeos_root = os.path.expanduser(chromeos_root)
52 if not chromeos_root:
54 chromeos_root = FileUtils().ChromeOSRootFromImage(chromeos_image)
55 if not chromeos_root:
60 chromeos_root = FileUtils().CanonicalizeChromeOSRoot(chromeos_root)
61 if not chromeos_root:
63 (name, chromeos_root))
    [all...]
download_images.py 54 def GetBuildID(self, chromeos_root, xbuddy_label):
59 _, build_id_tuple_str, _ = self._ce.ChrootRunCommandWOutput(chromeos_root,
69 def DownloadImage(self, chromeos_root, build_id, image_name):
75 download_path = os.path.join(chromeos_root, 'chroot/tmp', build_id)
83 gsutil_cmd = os.path.join(chromeos_root, GS_UTIL)
96 def UncompressImage(self, chromeos_root, build_id):
99 os.path.join(chromeos_root, 'chroot/tmp', build_id,
104 download_path = os.path.join(chromeos_root, 'chroot/tmp', build_id)
135 def DownloadSingleAutotestFile(self, chromeos_root, build_id,
141 gsutil_cmd = os.path.join(chromeos_root, GS_UTIL
    [all...]
suite_runner.py 62 self.PinGovernorExecutionFrequencies(machine, label.chromeos_root)
64 self.DecreaseWaitTime(machine, label.chromeos_root)
67 self.DecreaseWaitTime(machine, label.chromeos_root)
86 def PinGovernorExecutionFrequencies(self, machine_name, chromeos_root):
114 set_cpu_freq, machine=machine_name, chromeos_root=chromeos_root)
118 def DecreaseWaitTime(self, machine_name, chromeos_root):
122 'ls ' + FILE, machine=machine_name, chromeos_root=chromeos_root)
129 sed_command + FILE, machine=machine_name, chromeos_root=chromeos_root
    [all...]
compare_machines.py 18 print('\n compare_machines.py --chromeos_root=/path/to/chroot/ '
25 parser.add_argument('--chromeos_root',
27 dest='chromeos_root',
37 elif not os.path.exists(options.chromeos_root):
38 PrintUsage('Error: chromeos_root does not exist %s' % options.chromeos_root)
41 chroot = options.chromeos_root
experiment.py 27 def __init__(self, name, remote, working_directory, chromeos_root,
34 self.chromeos_root = chromeos_root
64 # We need one chromeos_root to run the benchmarks in, but it doesn't
66 if not chromeos_root:
68 if label.chromeos_root:
69 chromeos_root = label.chromeos_root
71 if not chromeos_root:
72 raise RuntimeError('No chromeos_root given and could not determine
    [all...]
download_images_buildid_test.py 28 '--chromeos_root',
29 dest='chromeos_root',
33 if options.chromeos_root is None:
34 self._usage(parser, '--chromeos_root must be set')
35 self.chromeos_root = options.chromeos_root
76 result = downloader.GetBuildID(self.chromeos_root, test_id)
machine_manager.py 47 def __init__(self, name, chromeos_root, log_level, cmd_exec=None):
57 self.chromeos_root = chromeos_root
83 chromeos_root=self.chromeos_root)
126 chromeos_root=self.chromeos_root)
136 chromeos_root=self.chromeos_root)
158 chromeos_root=self.chromeos_root
    [all...]
  /external/toolchain-utils/cros_utils/
locks.py 13 def AcquireLock(machines, chromeos_root, timeout=1200):
20 afe_lock_machine.AFELockManager(machines, False, chromeos_root,
34 def ReleaseLock(machines, chromeos_root):
38 afe_lock_machine.AFELockManager(machines, False, chromeos_root,
file_utils.py 39 def CanonicalizeChromeOSRoot(self, chromeos_root):
40 chromeos_root = os.path.expanduser(chromeos_root)
41 if os.path.isdir(os.path.join(chromeos_root, 'chromite')):
42 return chromeos_root
47 chromeos_root = os.path.join(
49 return self.CanonicalizeChromeOSRoot(chromeos_root)
74 def CanonicalizeChromeOSRoot(self, chromeos_root):
75 return '/tmp/chromeos_root'
78 return '/tmp/chromeos_root'
    [all...]
misc.py 78 def GetChromeOSKeyFile(chromeos_root):
79 return os.path.join(chromeos_root, 'src', 'scripts', 'mod_for_test_scripts',
83 def GetChrootPath(chromeos_root):
84 return os.path.join(chromeos_root, 'chroot')
87 def GetInsideChrootPath(chromeos_root, file_path):
88 if not file_path.startswith(GetChrootPath(chromeos_root)):
90 (file_path, chromeos_root))
91 return file_path[len(GetChrootPath(chromeos_root)):]
94 def GetOutsideChrootPath(chromeos_root, file_path):
95 return os.path.join(GetChrootPath(chromeos_root), file_path.lstrip('/')
    [all...]
buildbot_utils.py 150 def FindArchiveImage(chromeos_root, build, build_id):
156 chromeos_root, command, print_to_console=False)
191 def GetTrybotImage(chromeos_root,
206 chromeos_root is the path to the ChromeOS root, needed for finding chromite
218 cbuildbot_path = os.path.join(chromeos_root, 'chromite/cbuildbot')
334 trybot_image = FindArchiveImage(chromeos_root, build, build_id)
340 trybot_image = FindArchiveImage(chromeos_root, build, build_id)
351 def GetGSContent(chromeos_root, path):
357 chromeos_root, command, print_to_console=False)
361 def DoesImageExist(chromeos_root, build)
    [all...]
command_executer.py 224 def RemoteAccessInitCommand(self, chromeos_root, machine):
227 command += '\n. ' + chromeos_root + '/src/scripts/common.sh'
228 command += '\n. ' + chromeos_root + '/src/scripts/remote_access.sh'
241 def CrosLearnBoard(self, chromeos_root, machine):
242 command = self.RemoteAccessInitCommand(chromeos_root, machine)
257 chromeos_root=None,
272 self.logger.LogFatalIf(not chromeos_root, 'chromeos_root not given!')
274 if not chromeos_root or not machine:
276 chromeos_root = os.path.expanduser(chromeos_root
    [all...]
  /external/toolchain-utils/crosperf/experiment_files/
telemetry_perf_perf 21 chromeos_root=~/chromiumos
50 --chromeos_root="${chromeos_root}" \
  /external/toolchain-utils/deprecated/
run_benchmarks.py 7 chromeos_root
71 def RunBrowserBenchmark(chromeos_root, board, bench, machine):
75 chromeos_root: ChromeOS src dir
82 ret = run_tests.RunRemoteTests(chromeos_root, machine, board, benchname)
86 def RunStartupBenchmark(chromeos_root, board, machine):
90 chromeos_root: ChromeOS src dir
96 ret = run_tests.RunRemoteTests(chromeos_root, machine, board, benchname)
100 def RunCpuBenchmark(chromeos_root, bench, workdir, machine):
104 chromeos_root: ChromeOS src dir
121 chromeos_root=chromeos_root
    [all...]
build_benchmarks.py 7 chromeos_root
130 '--chromeos_root',
131 dest='chromeos_root',
203 if options.chromeos_root is None:
204 Usage(parser, '--chromeos_root must be set')
212 options.chromeos_root = os.path.expanduser(options.chromeos_root)
231 retval = cmd_executer.ChrootRunCommand(options.chromeos_root,
238 options.chromeos_root,
263 '--chromeos_root=' + options.chromeos_root
    [all...]
  /external/toolchain-utils/fdo_scripts/
profile_cycler.py 27 def __init__(self, chromeos_root, board, cycler, profile_dir, remote):
28 self._chromeos_root = chromeos_root
50 chromeos_root=self._chromeos_root,
59 chromeos_root=self._chromeos_root,
64 chromeos_root=self._chromeos_root,
84 chromeos_root=self._chromeos_root,
91 chromeos_root=self._chromeos_root,
111 chromeos_root=self._chromeos_root,
118 chromeos_root=self._chromeos_root,
159 parser.add_option('--chromeos_root',
    [all...]
  /external/toolchain-utils/crb/
crb_driver.py 20 def CanonicalizeChromeOSRoot(chromeos_root):
21 chromeos_root = os.path.expanduser(chromeos_root)
22 if os.path.isfile(os.path.join(chromeos_root, 'src/scripts/enter_chroot.sh')):
23 return chromeos_root
77 chromeos_root = main_chromeos_root
81 chromeos_root = CanonicalizeChromeOSRoot(image_chromeos_root)
82 assert chromeos_root, 'chromeos_root: %s invalid' % image_chromeos_root
84 chromeos_root = CanonicalizeChromeOSRoot(main_chromeos_root
    [all...]

Completed in 1088 milliseconds

1 2 3