Lines Matching refs:logdir
38 def readline(self, logdir): argument
45 path = os.path.join(logdir, self.logf)
86 def run(self, logdir): argument
92 shutil.copyfile(self.path, os.path.join(logdir, self.logf))
130 def run(self, logdir): argument
138 logf_path = os.path.join(logdir, self.logf)
252 logdir = os.path.join(self._get_sysinfodir(test.outputdir), iter_dir)
253 if not os.path.exists(logdir):
254 os.mkdir(logdir)
255 return logdir
261 logdir = self._get_boot_subdir(next=True)
262 if not os.path.exists(logdir):
263 os.mkdir(logdir)
266 log.run(logdir)
269 installed_path = os.path.join(logdir, "installed_packages")
352 logdir = self._get_iteration_subdir(test, iteration)
355 log.run(logdir)
367 logdir = self._get_iteration_subdir(test, iteration)
370 log.run(logdir)
373 def _log_messages(self, logdir): argument
384 out_messages = open(os.path.join(logdir, "messages"), "w")
392 def _log_journal(self, logdir): argument
399 with open(os.path.join(logdir, "journal"), "w") as journal:
406 def _read_sysinfo_keyvals(loggables, logdir): argument
410 keyval["sysinfo-" + log.logf] = log.readline(logdir)