crosvm/ci/kokoro
Dennis Kempin 767e094fb8 tools/run_tests: Use triples for arch
Updates run_tests to use cargo style target triples for specifying
build targets. A simple 'aarch64' or 'armhf' was nice while we just
had linux builds. We now are looking at windows and possibly
different toolchain options (e.g. msvc vs gnu), so our old system
was getting confusing and inconsistent.

We used to have some special handling for adding wrappers to test
runs for emulation (e.g. wine, qemu). That logic has been moved
into TestTarget which now contains not just where to run the test
but also how.

Supported are armhf/aarch64 qemu as well as wine64.

The CLI has been updated to match and now uses the build-target
argument instead of arch.

The following combinations have been tested (though not all
combinations actually pass all tests, which is a separate issue).

./tools/run_tests
./tools/run_tests --target=host --build-target=x86_64-unknown-linux-gnu
./tools/run_tests --target=host --build-target=armhf
./tools/run_tests --target=host --build-target=aarch64
./tools/run_tests --target=host --build-target=mingw64
./tools/run_tests --target=vm:aarch64
./tools/run_tests --target=vm:aarch64 --build-target=armhf

BUG=b:233914170
TEST=See above

Change-Id: Ic6dbb5b39788e2573714606d3bb0e7c712032d91
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3739240
Tested-by: kokoro <noreply+kokoro@google.com>
Commit-Queue: Dennis Kempin <denniskempin@google.com>
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
2022-07-01 19:16:59 +00:00
..
windows tools/run_tests: Use triples for arch 2022-07-01 19:16:59 +00:00
build-aarch64.sh dev_container: Preserve container between calls 2021-11-19 20:09:39 +00:00
build-armhf.sh tools/run_tests: Use triples for arch 2022-07-01 19:16:59 +00:00
build-chromeos.sh build-chromeos.sh: Clean up cros repo after build 2022-04-28 18:01:47 +00:00
build-merge-into-chromeos.sh Kokoro: Fix dry-run merge target 2022-06-06 19:42:57 +00:00
build-push-to-github.sh ci: kokoro: push-to-github: Use git push --all instead of --mirror 2021-10-20 16:06:04 +00:00
build-x86_64-direct.sh ci: kokoro: Add continuous-x86_64-direct 2022-06-22 23:18:35 +00:00
build-x86_64.sh dev_container: Fix reuse logic and add testing 2022-05-31 21:54:23 +00:00
common.cfg Kokoro: Extensive polishing and bugfixing 2021-02-10 22:04:43 +00:00
common.sh ci/kokoro: improve error checking 2022-03-25 00:33:06 +00:00
continuous-aarch64.cfg Add Kokoro for ci/builders 2021-02-05 03:01:55 +00:00
continuous-armhf.cfg Add continuous and presubmit-cr armhf job configs for kokoro 2021-12-14 19:45:21 +00:00
continuous-chromeos.cfg Kokoro: Increase build timeout for ChromeOS builder 2022-04-26 15:54:32 +00:00
continuous-x86_64-direct.cfg ci: kokoro: Add continuous-x86_64-direct 2022-06-22 23:18:35 +00:00
continuous-x86_64.cfg Add Kokoro for ci/builders 2021-02-05 03:01:55 +00:00
merge-into-chromeos.cfg kokoro: Various fixes to merge-into-chromeos job 2021-12-07 20:50:29 +00:00
presubmit-cq-aarch64.cfg Make Kokoro v2 happy with new config 2021-02-06 05:26:04 +00:00
presubmit-cq-armhf.cfg Enable some tests for armhf builds 2021-12-14 18:11:32 +00:00
presubmit-cq-x86_64-direct.cfg ci: kokoro: Add presubmit configs for x86_64-direct 2022-06-23 22:04:33 +00:00
presubmit-cq-x86_64.cfg Make Kokoro v2 happy with new config 2021-02-06 05:26:04 +00:00
presubmit-cr-aarch64.cfg Make Kokoro v2 happy with new config 2021-02-06 05:26:04 +00:00
presubmit-cr-armhf.cfg Add continuous and presubmit-cr armhf job configs for kokoro 2021-12-14 19:45:21 +00:00
presubmit-cr-x86_64-direct.cfg ci: kokoro: Add presubmit configs for x86_64-direct 2022-06-23 22:04:33 +00:00
presubmit-cr-x86_64.cfg Make Kokoro v2 happy with new config 2021-02-06 05:26:04 +00:00
push-to-github.cfg Add push-to-github kokoro config and script 2021-10-18 21:37:58 +00:00
simulate.py Add python presubmit checks 2022-04-15 19:22:53 +00:00