crosvm/tools
Dennis Kempin 4d0436e74e Add DO_NOT_RUN_ON_FOREIGN_KERNEL option
While we can run armhf binaries on aarch64 or use user-space emulation
to run aarch64 tests on the x86 host, some tests will fail in that
scenario as they will interact with kernel APIs directly (e.g. kvm).

This will make it easier to distinguish 'do not run on armhf because
we haven't fixed the tests' from 'this test is not supported on
a foreign arch kernel and that is expected'.

It also enables a quicker method of running aarch64 tests with
user-space emulation.

BUG=b:218374759
TEST=./tools/dev_container ./tools/run_tests --target=host
--arch=aarch64

Change-Id: I81871e11d3b02ee1ed3bac88bada28fbba8a3f31
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3447292
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
Tested-by: kokoro <noreply+kokoro@google.com>
Commit-Queue: Dennis Kempin <denniskempin@google.com>
2022-02-10 22:04:18 +00:00
..
chromeos merge-into-chromeos: Create a dry run merge as well 2022-01-26 20:47:46 +00:00
contrib enumn: switch to upstream crates.io version 2021-11-15 21:03:25 +00:00
examples Reorganize usage doc and add example usage 2022-01-27 21:29:10 +00:00
impl Add DO_NOT_RUN_ON_FOREIGN_KERNEL option 2022-02-10 22:04:18 +00:00
windows Upstream windows build/test script 2022-01-28 00:55:08 +00:00
aarch64vm testvm: Use prebuilts instead of building on-the-fly 2021-10-15 22:02:24 +00:00
cargo-doc tools: Stop generating API docs for libvda 2021-12-09 18:01:34 +00:00
clippy clippy: Fix cros_async 2022-02-07 22:22:44 +00:00
dev_container Use tmpfs for /tmp in dev container 2021-12-07 17:44:17 +00:00
fmt docs: Use mdformat to format markdown files 2022-01-27 21:29:11 +00:00
install-aarch64-deps Uprev rust toolchain to 1.56.1 2021-12-10 02:34:50 +00:00
install-armhf-deps Uprev rust toolchain to 1.56.1 2021-12-10 02:34:50 +00:00
install-deps tools: dev_container: Install mdbook-linkcheck 2022-02-02 02:52:53 +00:00
presubmit ci/kokoro: add a no-default-features build 2022-02-04 21:19:33 +00:00
run_tests Add test runner ./tools/run_tests 2021-10-15 22:12:03 +00:00
set_test_target Add test runner ./tools/run_tests 2021-10-15 22:12:03 +00:00
x86vm testvm: Use prebuilts instead of building on-the-fly 2021-10-15 22:02:24 +00:00