mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-28 17:44:10 +00:00
767e094fb8
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> |
||
---|---|---|
.. | ||
windows | ||
build-aarch64.sh | ||
build-armhf.sh | ||
build-chromeos.sh | ||
build-merge-into-chromeos.sh | ||
build-push-to-github.sh | ||
build-x86_64-direct.sh | ||
build-x86_64.sh | ||
common.cfg | ||
common.sh | ||
continuous-aarch64.cfg | ||
continuous-armhf.cfg | ||
continuous-chromeos.cfg | ||
continuous-x86_64-direct.cfg | ||
continuous-x86_64.cfg | ||
merge-into-chromeos.cfg | ||
presubmit-cq-aarch64.cfg | ||
presubmit-cq-armhf.cfg | ||
presubmit-cq-x86_64-direct.cfg | ||
presubmit-cq-x86_64.cfg | ||
presubmit-cr-aarch64.cfg | ||
presubmit-cr-armhf.cfg | ||
presubmit-cr-x86_64-direct.cfg | ||
presubmit-cr-x86_64.cfg | ||
push-to-github.cfg | ||
simulate.py |