Lines Matching refs:job

32     def __init__(self, job, bindir, outputdir):  argument
33 self.job = job
34 self.pkgmgr = job.pkgmgr
35 self.autodir = job.autodir
54 dir=job.tmpdir)
81 tap_report=self.job._tap)
222 tap_report=self.job._tap)
227 tap_report=self.job._tap)
325 if self.job.drop_caches_between_iterations:
339 if self.job.test_retry != 0:
341 self.job.test_retry)
343 max_runs = self.job.test_retry
352 self.job.record('INFO', None, None, 'Run %s failed with %s' % (
369 if not self.job.profilers.present():
370 self.job.record('WARN', None, None,
429 profilers = self.job.profilers
433 profile_only = self.job.default_profile_only
482 profilers = self.job.profilers
549 self.job.logging.tee_redirect_debug_dir(self.debugdir,
553 self.job.disable_warnings("NETWORK")
557 run_cleanup = dargs.pop('run_cleanup', self.job.run_test_cleanup)
578 lockfile = open(os.path.join(self.job.tmpdir, '.testlock'), 'w')
633 self.job.logging.restore()
646 self.job.logging.restore()
649 self.job.enable_warnings("NETWORK")
654 self.job.enable_warnings("NETWORK")
659 self.job.enable_warnings("NETWORK")
675 test_basepath = self.outputdir[len(self.job.resultdir + "/"):]
676 return self.job.run_test(url, master_testpath=test_basepath,
772 def _installtest(job, url): argument
773 (group, name) = job.pkgmgr.get_package_name(url, 'test')
776 group_dir = os.path.join(job.testdir, "download", group)
792 job.pkgmgr.fetch_pkg(tarball, tarball_path,
799 job.pkgmgr.untar_pkg(tarball_path, test_dir)
826 def runtest(job, url, tag, args, dargs, argument
835 (testgroup, testname) = _installtest(job, url)
836 bindir = os.path.join(job.testdir, 'download', testgroup, testname)
837 importdir = os.path.join(job.testdir, 'download')
853 if hasattr(job, 'install_pkg'):
855 bindir = os.path.join(job.testdir, testname)
856 job.install_pkg(testname, 'test', bindir)
863 for dir in [job.testdir, getattr(job, 'site_testdir', None)]:
870 outputdir = os.path.join(job.resultdir, subdir)
874 local_namespace['job'] = job