Lines Matching refs:results
214 def report_result(device_id, camera_id, results): argument
228 for scene in results:
229 if RESULT_KEY not in results[scene]:
231 if results[scene][RESULT_KEY] not in RESULT_VALUES:
233 if SUMMARY_KEY in results[scene]:
237 results[scene][SUMMARY_KEY] = device_summary_path
239 json_results = json.dumps(results)
246 def write_result(testbed_index, device_id, camera_id, results): argument
256 result = {'device_id': device_id, 'results': results}
276 results = {}
280 results = testbed_data['results']
281 if not device_id or not results:
283 yield device_id, camera_id, results
692 results = {}
780 results[s] = {RESULT_KEY: RESULT_NOT_EXECUTED}
798 results[s]['TEST_STATUS'] = []
799 results[s][METRICS_KEY] = []
800 results[s][PERFORMANCE_KEY] = []
929 results[s][PERFORMANCE_KEY].append(perf_test_metrics)
961 results[s]['TEST_STATUS'].append({
965 results[s][METRICS_KEY].append(test_mpc_req)
967 results[s][METRICS_KEY].append(hdr_mpc_req)
1003 results[s][RESULT_KEY] = (RESULT_PASS if num_fail == 0 else RESULT_FAIL)
1004 results[s][SUMMARY_KEY] = scene_test_summary_path
1005 results[s][TIME_KEY_START] = scene_start_time
1006 results[s][TIME_KEY_END] = scene_end_time
1017 logging.info('ITS results to CtsVerifier: %s', results)
1018 report_result(device_id, camera_id, results)
1020 write_result(testbed_index, device_id, camera_id, results)