mirror of
				https://github.com/ARM-software/workload-automation.git
				synced 2025-10-30 22:54:18 +00:00 
			
		
		
		
	wa: Rename update_results reference to update_output
				
					
				
			To be consistant with the rename of output_processors, old references to `update_results` have now been changed to `update_output`.
This commit is contained in:
		| @@ -176,7 +176,7 @@ class RtApp(Workload): | ||||
|                                          timeout=self.timeout, | ||||
|                                          as_root=True) | ||||
|  | ||||
|     def update_result(self, context): | ||||
|     def update_output(self, context): | ||||
|         self._pull_rt_app_logs(context) | ||||
|         context.result.classifiers.update(dict( | ||||
|             duration=self.duration, | ||||
|   | ||||
| @@ -87,7 +87,7 @@ class Vellamo(ApkUiautoWorkload): | ||||
|         super(Vellamo, self).update_output(context) | ||||
|  | ||||
|         # Get total scores from logcat | ||||
|         self.non_root_update_result(context) | ||||
|         self.non_root_update_output(context) | ||||
|  | ||||
|         if not self.target.is_rooted: | ||||
|             return | ||||
| @@ -143,7 +143,7 @@ class Vellamo(ApkUiautoWorkload): | ||||
|                     score = result['score'] | ||||
|                     context.add_metric(name, score) | ||||
|  | ||||
|     def non_root_update_result(self, context): | ||||
|     def non_root_update_output(self, context): | ||||
|         failed = [] | ||||
|         logcat_file = context.get_artifact_path('logcat') | ||||
|         with open(logcat_file) as fh: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user