commit | c9c73e3be1a924175b289f35b03b93ae27d0cd8b | [log] [tgz] |
---|---|---|
author | Kenneth Albanowski <kenalba@google.com> | Mon Sep 28 17:45:41 2020 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Oct 15 03:58:02 2020 |
tree | b3a2dd4696a6c467f437404bda96614588669343 | |
parent | 10f4e5bb36af987a5280a4eb6db6dd51f0579842 [diff] |
touch_firmware_test: enable ChromeOS webplot for Python 3.x Some modules were already adapted for Python 3.x, this converts the rest of the modules needed for 'webplot' tool functionality on ChromeOS. Not intended to break Python 2.x operation. * General 2/3 compatible pythonic language changes (print, range, dict, except, map & bytestrings) * Adjust wrapper script to ensure webplot runs under python3, as we do not keep ws4py around for python2. Also (unclear if this is related to python 3): * Fix apparently incidental bug of reading ev data: description ends after a blank line, not a 2-second timeout. BUG=chromium:1095095 TEST=webplot validated manually, and test_that --board=hatch ${DUT} platform_GesturesRegressionTestValidated passed; both on hatch. Cq-Depend: chromium:2441402 Change-Id: Ie6887bf913c76d9a53a215b98bc56c0b1ce053fb Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/touch_firmware_test/+/2437494 Reviewed-by: Harry Cutts <hcutts@chromium.org> Reviewed-by: Sean O'Brien <seobrien@chromium.org> Tested-by: Kenneth Albanowski <kenalba@google.com> Commit-Queue: Kenneth Albanowski <kenalba@google.com>
This repo holds the source code of the touch firmware test.
$ git clone https://chromium.googlesource.com/chromiumos/platform/touch_firmware_test
See this website for details: https://www.chromium.org/for-testers/touch-firmware-tests .
You can also run the tests in docker now. You can build your own docker image or use the one on docker hub.