Searched refs:jobdir (Results 1 – 3 of 3) sorted by relevance
55 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 …]
49 def publish_job(jobdir): argument50 cmd = RSYNC_COMMAND % (jobdir, options.dest)54 fd = open(os.path.join(jobdir, PUBLISH_FLAGFILE), 'w')56 print 'Published', jobdir74 for jobdir in jobdirs:75 job_id = int(os.path.basename(jobdir).split('-')[0])90 publish_job(jobdir)
462 def make_job(self, jobdir): argument469 os.makedirs(jobdir)470 return _MockJobDirectory(jobdir)1373 def _add_job(self, jobdir): argument1375 j = self.make_job(jobdir)