tast-tests: Add helper tests for meta tests.

Add three tests that will be called by meta tests that will
be added in a future change to perform end-to-end testing of
the tast command:

- meta.LocalFiles: reads internal and external data files
  and copies them to the output dir
- meta.LocalPanic: intentionally panics to verify that other
  tests are still run
- meta.RemoteFiles: reads a data file and copies it to an
  output dir

BUG=chromium:873556
TEST=ran these tests via new meta tests
CQ-DEPEND=I171a70b9383a03ce8055ede5b7a296c1410bf991
CQ-DEPEND=Id9f0c42055ea1c7873e8db677c3325d0ce3a823a

Change-Id: Ia138300909874cce4c7b46a54bbdb28068fdb66c
Reviewed-on: https://chromium-review.googlesource.com/1173762
Commit-Ready: Dan Erat <derat@chromium.org>
Tested-by: Dan Erat <derat@chromium.org>
Reviewed-by: Shuhei Takahashi <nya@chromium.org>
7 files changed
tree: 04f55e852674c4b2efe2fe0893e10a57b50bb102
  1. src/
  2. .gitignore
  3. README.md
README.md

Tast (tests)

This repository contains integration tests that are run by Tast.

Directory structure

  • src/chromiumos/tast/
    • local/ - Code related to local (i.e. on-device or “client”) tests.
      • bundles/ - Local test bundles.
        • cros/ - The “cros” local test bundle, containing standard Chrome OS tests. Tests are packaged by category.
      • ... - Packages used only by local tests.
    • remote/ - Code related to remote (i.e. off-device or “server”) tests.
      • bundles/ - Remote test bundles.
        • cros/ - The “cros” remote test bundle, containing standard Chrome OS tests. Tests are packaged by category.
      • ... - Packages used only by remote tests.

Shared code, the main tast executable, the local_test_runner and remote_test_runner executables responsible for running bundles, and documentation are located in the tast repository.

GoDoc