mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-09 03:57:24 +00:00
This change moves most ircchip tests into an integration test. These tests rely on kvm, and if they do not - reuse much of the test code from each other, so they need to move together. Note: This removes the apic_timer test. The test has been disabled for a while due to it's use of sleep in unit tests. We cannot support it as an integration test either, since it combines the sleep with a FakeClock. userspace.rs swaps the real clock for FakeClock when compiled with cfg(test), but integration tests do not compile with cfg(test), so we cannot use the FakeClock. The biggest side-effect is faster execution as we can run all other 300+ tests in parallel and via user-space emulation, significantly cutting down on the test times. It also allows those tests to run in a podman container. BUG=b:244620308 TEST=CQ Change-Id: I1728a736d27e924daf228752711435885dacfa6a Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3977111 Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> Commit-Queue: Dennis Kempin <denniskempin@google.com> |
||
---|---|---|
.. | ||
kvm | ||
main.rs | ||
userspace.rs | ||
x86_64.rs |