Home | History | Annotate | Download | only in site_utils

Lines Matching refs:testdir

87     def _CollectPerf(self, testdir):
88 """Parses keyval file under testdir and return the perf keyval pairs.
90 @param testdir: autoserv test result directory path.
97 return self._CollectKeyval(testdir, 'perf')
99 def _CollectAttr(self, testdir):
100 """Parses keyval file under testdir and return the attr keyval pairs.
102 @param testdir: autoserv test result directory path.
109 return self._CollectKeyval(testdir, 'attr')
111 def _CollectKeyval(self, testdir, keyword):
112 """Parses keyval file under testdir.
114 If testdir contains a result folder, process the keyval file and return
117 @param testdir: The autoserv test result directory.
121 under testdir, returns an empty dictionary. Otherwise, returns
127 keyval_file = os.path.join(testdir, 'results', 'keyval')
182 def _CollectInfo(self, testdir, custom_info):
183 """Parses *_info files under testdir/sysinfo/var/log.
192 @param testdir: The autoserv test result directory.
202 sysinfo_dir = os.path.join(testdir, 'sysinfo', 'var', 'log')
260 def _CheckExperimental(self, testdir):
263 @param testdir: The result directory that has the keyval file.
269 keyval_file = os.path.join(testdir, 'keyval')
282 def _CollectResult(self, testdir, results, is_experimental=False):
283 """Collects results stored under testdir into a dictionary.
312 @param testdir: The autoserv test result directory.
319 status_file = os.path.join(testdir, 'status.log')
321 status_file = os.path.join(testdir, 'status')
364 'testdir': testdir,
370 'perf': self._CollectPerf(testdir),
371 'attr': self._CollectAttr(testdir),
372 'info': self._CollectInfo(testdir, {'localtime': localtime,
398 for testdir in glob.glob(os.path.join(resdir, '*')):
400 if not os.path.exists(os.path.join(testdir, 'debug')):
404 testdir, is_experimental))
484 width = max(width, len(result['testdir']))
584 tests = sorted(self._results, key=operator.itemgetter('testdir'),
588 tests = sorted(self._results, key=operator.itemgetter('testdir'))
608 testdir = result['testdir']
609 test_entry = testdir if self._options.csv else testdir.ljust(width)
634 self._PrintErrorLogs(testdir, test_entry)
645 crashes[crash].add(testdir)