Home
last modified time | relevance | path

Searched refs:jobdir (Results 1 – 3 of 3) sorted by relevance

/external/autotest/tko/
Dutils_unittest.py55 jobdir = "/results/job1"
57 jobdir + "/.autoserv_execute").and_return(True)
58 self.assertEqual(utils.find_toplevel_job_dir(jobdir), jobdir)
62 jobdir = "/results/job2"
64 jobdir + "/sub/.autoserv_execute").and_return(False)
66 jobdir + "/.autoserv_execute").and_return(True)
67 self.assertEqual(utils.find_toplevel_job_dir(jobdir + "/sub"), jobdir)
71 jobdir = "/results/job3"
73 jobdir + "/sub/sub/.autoserv_execute").and_return(False)
75 jobdir + "/sub/.autoserv_execute").and_return(False)
[all …]
/external/autotest/utils/
Dtko_publish.py49 def publish_job(jobdir): argument
50 cmd = RSYNC_COMMAND % (jobdir, options.dest)
54 fd = open(os.path.join(jobdir, PUBLISH_FLAGFILE), 'w')
56 print 'Published', jobdir
74 for jobdir in jobdirs:
75 job_id = int(os.path.basename(jobdir).split('-')[0])
90 publish_job(jobdir)
/external/autotest/site_utils/
Dgs_offloader_unittest.py462 def make_job(self, jobdir): argument
469 os.makedirs(jobdir)
470 return _MockJobDirectory(jobdir)
1373 def _add_job(self, jobdir): argument
1375 j = self.make_job(jobdir)