/external/lisa/libs/utils/ |
report.py | 122 for test_idx in sorted(_results[tid].keys()): 123 if test_idx == base_idx: 130 if test_rexp.match(test_idx) == None: 132 self.__rtapp_compare(tid, base_idx, test_idx, formats) 173 def __rtapp_compare(self, tid, base_idx, test_idx, formats): 177 tid, base_idx, test_idx) 178 res_line = '{0:12s}: {1:20s} | '.format(tid, test_idx) 183 res_test = _results[tid][test_idx]['energy'][cpus]['avg'] 204 res_test = _results[tid][test_idx]['performance'][pidx]['avg'] 283 for test_idx in sorted(_results[tid].keys()) [all...] |
results.py | 54 for test_idx in sorted(os.listdir(self.results_dir)): 56 test_dir = self.results_dir + '/' + test_idx 60 test = TestFactory.get(test_idx, test_dir, self.results) 75 def __init__(self, test_idx, test_dir, res): 76 self.test_idx = test_idx 145 def get(test_idx, test_dir, res): 158 return RTAppTest(test_idx, test_dir, res) 161 return DefaultTest(test_idx, test_dir, res) 254 def __init__(self, test_idx, test_dir, res) [all...] |
/external/autotest/tko/ |
db.py | 424 for test_idx in self.find_tests(job_idx): 425 where = {'test_idx' : test_idx} 430 self.delete('tko_test_labels_tests', {'test_id': test_idx}) 519 is_update = hasattr(test, "test_idx") 521 test_idx = test.test_idx 523 {'test_idx': test_idx}, commit=commit) 524 where = {'test_idx': test_idx [all...] |
parse.py | 183 test_idx| job_idx | test | ... | invalid | invalidates_test_idx 192 are set to 10 and 11 (the test_idx of the rows for the original job). 258 # old tests is a dict from tuple (test_name, subdir) to test_idx 265 raw_old_tests = db.select("test_idx,subdir,test", "tko_tests", 268 old_tests = dict(((test, subdir), test_idx) 269 for test_idx, subdir, test in raw_old_tests) 299 # try and port test_idx over from the old tests, but if old tests stop 304 test_idx = old_tests.pop((test.testname, test.subdir), None) 305 if test_idx is not None: 306 test.test_idx = test_id [all...] |
job_serializer_unittest.py | 55 tko_test.test_idx = 3 203 self.assertEqual(test.test_idx, newtest.test_idx)
|
frontend.py | 204 fields = ['test_idx', 'job_idx', 'test', 'subdir', 215 fields = ['test_idx', 'job_idx', 'test', 'subdir', 222 def __init__(self, db, test_idx, job_idx, testname, subdir, kernel_idx, 224 self.idx = test_idx 250 where = {'test_idx' : self.idx}
|
job_serializer.py | 264 if hasattr(tko_test, 'test_idx'): 265 pb_test.test_idx = tko_test.test_idx
|
/external/lisa/tools/ |
plots.py | 88 for test_idx in sorted(os.listdir(args.results)): 90 match = TEST_DIR_RE.search(test_idx) 106 test_dir = os.path.join(args.results, test_idx)
|
/external/autotest/contrib/ |
remove_old_tests_in_tko.sql | 11 WHILE EXISTS (SELECT test_idx FROM tko_tests WHERE started_time < @cutoff_date LIMIT 1) DO 22 WHILE EXISTS (SELECT test_idx FROM tko_tests where started_time IS NULL and finished_time < @cutoff_date LIMIT 1) DO
|
/external/autotest/frontend/tko/ |
rpc_interface.py | 91 for compatibility. It includes an additional field "test_idx" with each 106 models.TestView.objects.get_key_on_this_table('test_idx')}) 120 test_idx = group_dict.pop('latest_test_idx') 121 group_dict['test_idx'] = test_idx 122 test_view = test_views[test_idx] 186 tests_by_id = models.Test.objects.in_bulk([test_view['test_idx'] 205 test = tests_by_id[test_view['test_idx']] 451 ['Test Index', 'test_idx'],
|
rpc_interface_unittest_fixme.py | 15 SELECT tko_tests.test_idx AS test_idx, 52 "test_idx" integer NOT NULL REFERENCES "tko_tests" ("test_idx"), 61 "test_idx" integer NOT NULL REFERENCES "tko_tests" ("test_idx"), 213 (test.test_idx, iteration, attribute, value)) 372 self.assertEquals(group1['test_idx'], 2) 373 self.assertEquals(group2['test_idx'], 3) 469 group_by=['test_idx'], extra_info=['test_attribute_myattr'] [all...] |
models.py | 203 test_idx = dbmodels.AutoField(primary_key=True) variable in class:Test 231 'immutable' % (attribute, self.test_idx)) 242 test = dbmodels.ForeignKey(Test, db_column='test_idx') 258 test = dbmodels.ForeignKey(Test, db_column='test_idx', primary_key=True) 273 test = dbmodels.ForeignKey(Test, db_column='test_idx', primary_key=True) 337 join_key='test_idx', 652 dicts = query.values('test_idx') 653 return [item['test_idx'] for item in dicts] 672 return sql.replace('test_idx', self.get_key_on_this_table('test_idx')) 699 test_idx = dbmodels.IntegerField('test index', primary_key=True) variable in class:TestView [all...] |
/external/autotest/site_utils/ |
perf_csv_uploader.py | 168 test_idx=attribute.test_id)
|
run_suite_unittest.py | 30 def _build_view(self, test_idx, test_name, subdir, status, afe_job_id, 37 @param test_idx: An integer representing test_idx. 59 return {'test_idx': test_idx, 'test_name': test_name, 'subdir':subdir, 151 suite_views = sorted(suite_views, key=lambda view: view['test_idx']) 156 self.assertEqual(suite_views[0]['test_idx'], 10) 157 self.assertEqual(suite_views[1]['test_idx'], 12) 161 self.assertEqual(suite_views[2]['test_idx'], 13) 206 child_views = sorted(child_views, key=lambda view: view['test_idx']) [all...] |