Home | History | Annotate | Download | only in server

Lines Matching full:autodir

131         autodir = host.get_autodir()
132 if autodir:
133 logging.debug('Using existing host autodir: %s', autodir)
134 return autodir
141 logging.debug('Found existing autodir at %s', path)
279 def install(self, host=None, autodir=None, use_packaging=True):
283 @param autodir Location on the remote host to install to
289 self._install(host=host, autodir=autodir, use_packaging=use_packaging)
292 def install_full_client(self, host=None, autodir=None):
293 self._install(host=host, autodir=autodir, use_autoserv=False,
297 def install_no_autoserv(self, host=None, autodir=None):
298 self._install(host=host, autodir=autodir, use_autoserv=False)
301 def _install_using_packaging(self, host, autodir):
306 pkgmgr = packages.PackageManager(autodir, hostname=host.hostname,
314 pkg_dir = os.path.join(autodir, 'packages')
315 # clean up the autodir except for the packages and result_tools
318 ' | xargs rm -rf && rm -rf .[!.]*' % autodir)
319 pkgmgr.install_pkg('autotest', 'client', pkg_dir, autodir,
324 def _install_using_send_file(self, host, autodir):
330 host.send_file(light_files, autodir, delete_dest=True)
335 abs_path = os.path.join(autodir, path)
342 def _install(self, host=None, autodir=None, use_autoserv=True,
350 @param autodir Location on the remote host to install to
367 if not autodir:
368 autodir = self.get_install_dir(host)
369 logging.info('Using installation dir %s', autodir)
370 host.set_autodir(autodir)
371 host.run('mkdir -p %s' % utils.sh_escape(autodir))
373 # make sure there are no files in $AUTODIR/results
374 results_path = os.path.join(autodir, 'results')
381 self._install_using_packaging(host, autodir)
393 (os.path.join(autodir, packages.CHECKSUM_FILE)))
403 autodir)
405 host.send_file(self.source_material, autodir, delete_dest=True)
416 host.run('svn checkout %s %s' % (AUTOTEST_SVN, autodir))
418 host.run('svn checkout %s %s' % (AUTOTEST_HTTP, autodir))
453 autodir = host.get_autodir()
454 if not autodir:
458 host.run("rm -rf %s" % utils.sh_escape(autodir), ignore_status=True)
622 client_result_dir = '%s/results/default' % host.autodir
710 self.autodir = Autotest.get_installed_autodir(self.host)
711 control = os.path.join(self.autodir, 'control')
716 self.config_file = os.path.join(self.autodir, 'global_config.ini')
720 binary = os.path.join(self.autodir, 'bin/autotest')
728 tmpdir = os.path.join(self.autodir, 'tmp')
729 download = os.path.join(self.autodir, 'tests/download')
751 cmd = ['nohup', os.path.join(self.autodir, 'bin/autotest_client')]
758 cmd = ['nohup', os.path.join(self.autodir, 'bin/autotestd'),
766 cmd = [os.path.join(self.autodir, 'bin', 'autotestd_monitor'),
1003 self.autodir, self.autodir, section)