crosvm/tools/impl
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
..
dev_container Upgrade rust toolchain version to 1.58.1 2022-02-04 02:20:36 +00:00
testvm Make aarch64 vm usable for running armhf binaries. 2021-12-09 01:08:45 +00:00
check_code_hygiene.py Introduce code hygiene checks 2022-02-08 20:59:24 +00:00
test_config.py Add DO_NOT_RUN_ON_FOREIGN_KERNEL option 2022-02-10 22:04:18 +00:00
test_runner.py Add DO_NOT_RUN_ON_FOREIGN_KERNEL option 2022-02-10 22:04:18 +00:00
test_target.py crosvm: Do not use .cargo/config.toml 2021-10-30 00:16:33 +00:00
testvm.py Add test runner ./tools/run_tests 2021-10-15 22:12:03 +00:00