mirror of
				https://github.com/ARM-software/workload-automation.git
				synced 2025-10-29 22:24:51 +00:00 
			
		
		
		
	workloads/jankbench: Replace errors during decoding
When running jankbench invalid bytes can be read from the device causing decoding in the monitor to fail, now replace any invalid sequences.
This commit is contained in:
		| @@ -226,7 +226,7 @@ class JankbenchRunMonitor(threading.Thread): | ||||
|                 if ready: | ||||
|                     line = ready[0].readline() | ||||
|                     if sys.version_info[0] == 3: | ||||
|                         line = line.decode(sys.stdout.encoding) | ||||
|                         line = line.decode(sys.stdout.encoding, 'replace') | ||||
|                     if self.regex.search(line): | ||||
|                         self.run_ended.set() | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user