commit | f07f42a9144429f0793dde7ef0af4c99233b0dda | [log] [tgz] |
---|---|---|
author | Clemenz Portmann <portmannc@google.com> | Wed Jul 14 16:56:33 2021 -0700 |
committer | Clemenz Portmann <portmannc@google.com> | Wed Jul 14 23:59:29 2021 +0000 |
tree | d708746c3a42f7cb0a0f3160b578a2489bca324d | |
parent | bf6940de1f0ee1f071d53176dddb5e8c7ea6990d [diff] |
ITS: power down tablet at end of run_all_tests.py bug: 193717326 Change-Id: I30b78632013e2d5be21f7a9411e6201f55fcd952
diff --git a/apps/CameraITS/tools/run_all_tests.py b/apps/CameraITS/tools/run_all_tests.py index d5a2b6b..d5d3b06 100644 --- a/apps/CameraITS/tools/run_all_tests.py +++ b/apps/CameraITS/tools/run_all_tests.py
@@ -603,5 +603,9 @@ logging.info('Test execution completed.') + # Power down tablet + cmd = f'adb -s {tablet_id} shell input keyevent KEYCODE_POWER' + subprocess.Popen(cmd.split()) + if __name__ == '__main__': main()