bundle: Stop passing TestInstance to runTests

runTests accepts []*TestInstance, but it can be computed by the pair of
protocol.RunConfig and bundle.StaticConfig. To avoid ambiguity, stop
passing []*TestInstance to runTests and instead compute a list of test
instances within the function.

This is a refactoring change. No functional change is expected.

BUG=chromium:1128259
TEST=fast_build.sh -T

Change-Id: Ie3f7ca0a267e4b83569047a2ba16ab1343c3b811
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/tast/+/2831692
Tested-by: Shuhei Takahashi <nya@chromium.org>
Commit-Queue: Shuhei Takahashi <nya@chromium.org>
Reviewed-by: Keigo Oka <oka@chromium.org>
2 files changed
tree: 8a8dd341d892e8dcb9b71ac3c8d46662ac03811d
  1. docs/
  2. proto/
  3. src/
  4. tools/
  5. .gitignore
  6. fast_build.sh
  7. LICENSE
  8. navbar.md
  9. OWNERS
  10. PRESUBMIT.cfg
  11. PRESUBMIT.py
  12. README.md
  13. unblocked_terms.txt
README.md

Tast (go/tast)

Tast logo with Go gopher with green rubber PASS stamp

Tast is an integration-testing system for Chrome OS. 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.

Directory structure

This repository is organized in accordance with the Go in Chromium OS 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.

Notes about the logo

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.