1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-01-18 12:06:08 +00:00

workloads/jankbench: Update to check if running in a container.

Instead of using the os to determine whether the screen state should
be checked, use target flag to see if running inside a container.
This commit is contained in:
Marc Bonnici 2018-06-29 17:55:54 +01:00 committed by setrofim
parent 68e7fc0b99
commit 60b37995e0

View File

@ -97,7 +97,7 @@ class Jankbench(ApkWorkload):
elif self.pull_results_db and not self.target.is_rooted:
raise ConfigError('pull_results_db set for an unrooted device')
if self.target.os is 'android':
if not self.target.is_container:
self.target.ensure_screen_is_on()
self.command = self._build_command()