diff options
author | Chase Qi <chase.qi@linaro.org> | 2018-11-30 04:47:01 +0000 |
---|---|---|
committer | Linaro Code Review <review@review.linaro.org> | 2018-11-30 04:47:01 +0000 |
commit | e37687f5c86ac7df3a4f6fa1852c6c53ac3551c9 (patch) | |
tree | f4fe70f44100cf204b6ae3c52d58e380675273da /automated | |
parent | 05ce61162fbf2034cd258b9108004c349640bb8d (diff) | |
parent | 7a4c18ff5798dde6bcee890485d5bf42096890dc (diff) |
Merge "glbenchmark25.py: workaround to run with Pie build"
Diffstat (limited to 'automated')
-rwxr-xr-x | automated/android/apk-automation/glbenchmark25.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/automated/android/apk-automation/glbenchmark25.py b/automated/android/apk-automation/glbenchmark25.py index e5bb116..9853a84 100755 --- a/automated/android/apk-automation/glbenchmark25.py +++ b/automated/android/apk-automation/glbenchmark25.py @@ -41,6 +41,7 @@ class ApkRunnerImpl(ApkTestRunner): self.dump_always() select_all_btn = self.vc.findViewWithText("All") display_tests_menu = self.vc.findViewWithText("Performance Tests") + warn_msg = self.vc.findViewWithText(u'This app was built for an older version of Android and may not work properly. Try checking for updates, or contact the developer.') if select_all_btn: select_all_btn.touch() self.logger.info("All selected!") @@ -48,6 +49,10 @@ class ApkRunnerImpl(ApkTestRunner): elif display_tests_menu: display_tests_menu.touch() self.logger.info("Display all tests to select all") + elif warn_msg: + self.logger.info("Older version warning popped up") + warning_ok_btn = self.vc.findViewWithTextOrRaise(u'OK') + warning_ok_btn.touch() else: # continue pass |