• Home
  • Raw
  • Download

Lines Matching refs:autodir

102         autodir = host.get_autodir()
103 if autodir:
104 logging.debug('Using existing host autodir: %s', autodir)
105 return autodir
166 def install(self, host=None, autodir=None, use_packaging=True): argument
167 self._install(host=host, autodir=autodir, use_packaging=use_packaging)
170 def install_full_client(self, host=None, autodir=None): argument
171 self._install(host=host, autodir=autodir, use_autoserv=False,
175 def install_no_autoserv(self, host=None, autodir=None): argument
176 self._install(host=host, autodir=autodir, use_autoserv=False)
179 def _install_using_packaging(self, host, autodir): argument
184 pkgmgr = packages.PackageManager(autodir, hostname=host.hostname,
192 pkg_dir = os.path.join(autodir, 'packages')
195 ' | xargs rm -rf && rm -rf .[!.]*' % autodir)
196 pkgmgr.install_pkg('autotest', 'client', pkg_dir, autodir,
201 def _install_using_send_file(self, host, autodir): argument
207 host.send_file(light_files, autodir, delete_dest=True)
212 abs_path = os.path.join(autodir, path)
219 def _install(self, host=None, autodir=None, use_autoserv=True, argument
244 if not autodir:
245 autodir = self.get_install_dir(host)
246 logging.info('Using installation dir %s', autodir)
247 host.set_autodir(autodir)
248 host.run('mkdir -p %s' % utils.sh_escape(autodir))
251 results_path = os.path.join(autodir, 'results')
258 self._install_using_packaging(host, autodir)
270 (os.path.join(autodir, base_packages.CHECKSUM_FILE)))
280 self._install_using_send_file(host, autodir)
282 host.send_file(self.source_material, autodir, delete_dest=True)
293 host.run('svn checkout %s %s' % (AUTOTEST_SVN, autodir))
295 host.run('svn checkout %s %s' % (AUTOTEST_HTTP, autodir))
311 autodir = host.get_autodir()
312 if not autodir:
316 host.run("rm -rf %s" % utils.sh_escape(autodir), ignore_status=True)
502 self.autodir = Autotest.get_installed_autodir(self.host)
503 control = os.path.join(self.autodir, 'control')
508 self.config_file = os.path.join(self.autodir, 'global_config.ini')
512 binary = os.path.join(self.autodir, 'bin/autotest')
520 tmpdir = os.path.join(self.autodir, 'tmp')
521 download = os.path.join(self.autodir, 'tests/download')
543 cmd = ['nohup', os.path.join(self.autodir, 'bin/autotest_client')]
550 cmd = ['nohup', os.path.join(self.autodir, 'bin/autotestd'),
558 cmd = [os.path.join(self.autodir, 'bin', 'autotestd_monitor'),
790 self.autodir, self.autodir, section)