commit | d193931d9b97db3974e89bb167ceec2d8343fca0 | [log] [tgz] |
---|---|---|
author | Mary Ruthven <mruthven@google.com> | Fri Jun 13 15:53:41 2025 |
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Jun 13 19:59:53 2025 |
tree | a0f83eb580ce7f8128064c7c30152be413bb7c1c | |
parent | e24849765a4510e6974f28219da18c7ae8850779 [diff] |
chrome_ti50: update rolledback check firmware_GSCPinweaverUpdate rolls back to a DT image that doesn't have the "Rollback detected" print. Check the rollback count to verify rollback on Ti50 DT devices. BUG=none TEST=run firmware_GSCPinweaverUpdate on skyrim Change-Id: I1ac60606024199c8ed4f94144a300503cb7a7a26 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/autotest/+/6643511 Reviewed-by: Jett Rink <jettrink@google.com> Commit-Queue: Jett Rink <jettrink@google.com> Tested-by: Mary Ruthven <mruthven@chromium.org> Auto-Submit: Mary Ruthven <mruthven@chromium.org>
Autotest is a framework for fully automated testing. It was originally designed to test the Linux kernel, and expanded by the ChromeOS team to validate complete system images of ChromeOS and Android.
Autotest is composed of a number of modules that will help you to do stand alone tests or setup a fully automated test grid, depending on what you are up to. A non extensive list of functionality is:
A body of code to run tests on the device under test. In this setup, test logic executes on the machine being tested, and results are written to files for later collection from a development machine or lab infrastructure.
A body of code to run tests against a remote device under test. In this setup, test logic executes on a development machine or piece of lab infrastructure, and the device under test is controlled remotely via SSH/adb/some combination of the above.
Developer tools to execute one or more tests. test_that
for ChromeOS and test_droid
for Android allow developers to run tests against a device connected to their development machine on their desk. These tools are written so that the same test logic that runs in the lab will run at their desk, reducing the number of configurations under which tests are run.
Lab infrastructure to automate the running of tests. This infrastructure is capable of managing and running tests against thousands of devices in various lab environments. This includes code for both synchronous and asynchronous scheduling of tests. Tests are run against this hardware daily to validate every build of ChromeOS.
Infrastructure to set up miniature replicas of a full lab. A full lab does entail a certain amount of administrative work which isn't appropriate for a work group interested in automated tests against a small set of devices. Since this scale is common during device bringup, a special setup, called Moblab, allows a natural progressing from desk -> mini lab -> full lab.
See the guides to test_that
and test_droid
:
See the best practices guide, existing tests, and comments in the code.
git clone https://chromium.googlesource.com/chromiumos/third_party/autotest
See the coding style guide for guidance on submitting patches.
You need to run utils/build_externals.py
to set up the dependencies for pre-upload hook tests.