Introduce SkipOnFPMCU hardware dependency
FPMCU may not support some features (e.g. flash readout protection), so
we should have mechanism to cleanly skip tests that rely on missing
feature, without need to perform full test initialization and cleanup.
SkipOnFPMCU was based on existing SkipOnModel hardware dependency.
To use it, just add it to HardwareDeps in your test:
HardwareDeps: hwdep.D(hwdep.Fingerprint(),
hwdep.SkipOnFPMCU("helipilot"))
BUG=b:319279970, b:330343518
TEST=TAST unit tests passed
Change-Id: I11848a6696f2e17b6bd2d0f281410bbe9a5c6e8a
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/tast/+/5332376
Reviewed-by: Seewai Fu <seewaifu@google.com>
Commit-Queue: Patryk Duda <patrykd@google.com>
Reviewed-by: Josie Nordrum <josienordrum@google.com>
Tested-by: Patryk Duda <patrykd@google.com>
(cherry picked from commit 94ce10394da20016babe53c9f1d329dfe976acc3)
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/tast/+/5397501
Commit-Queue: Tom Hughes <tomhughes@chromium.org>
Tested-by: Tom Hughes <tomhughes@chromium.org>
Reviewed-by: Patryk Duda <patrykd@google.com>
Tast is an integration-testing system for ChromeOS. Its focus is on maintainability, speed, and ease of interpreting and reproducing test results. It supports building, deploying, and running tests. It doesn't implement other functionality like managing labs of devices used for testing, scheduling tests, or storing test results.
For more information, see the list of documentation.
This repository is organized in accordance with the Go in ChromiumOS suggestions.
src/chromiumos/cmd/local_test_runner/ - main package for the local_test_runner executable used to execute local test bundles on-device.cmd/remote_test_runner/ - main package for the remote_test_runner executable used to execute remote test bundles on the host system.cmd/tast/ - main package for the tast executable used to build and run tests.... - Packages used only by the tast executable.tast/... - Common packages shared by multiple executables.Tests are located in the tast-tests repository.
The Go gopher concept and design was originally created by Renee French and is covered by the Creative Commons Attribution 3.0 license. The Tast logo above is also covered by the Creative Commons Attribution 3.0 license.