@@ -263,18 +263,18 @@ test-loom:
263263test-isolated target = default-target features = " " :
264264 {{ cargo-cmd }} test {{ if features == " " {' ' } else if features== " no-default-features" {" --no-default-features" } else {" --no-default-features -F " + features } }} --profile={{ if target == " debug" { " dev" } else { target } }} {{ target-triple-flag }} -p hyperlight-host --lib -- sandbox::uninitialized::tests::test_log_trace --exact --ignored
265265 {{ cargo-cmd }} test {{ if features == " " {' ' } else if features== " no-default-features" {" --no-default-features" } else {" --no-default-features -F " + features } }} --profile={{ if target == " debug" { " dev" } else { target } }} {{ target-triple-flag }} -p hyperlight-host --lib -- sandbox::outb::tests::test_log_emit_guest_log --exact --ignored
266- {{ cargo-cmd }} test {{ if features == " " {' ' } else if features== " no-default-features" {" --no-default-features" } else {" --no-default-features -F " + features } }} --profile={{ if target == " debug" { " dev" } else { target } }} {{ target-triple-flag }} -p hyperlight-host --lib -- sandbox::initialized_multi_use ::tests::from_snapshot::max_guest_log_level_is_honored_from_snapshot --exact --ignored
267- {{ cargo-cmd }} test {{ if features == " " {' ' } else if features== " no-default-features" {" --no-default-features" } else {" --no-default-features -F " + features } }} --profile={{ if target == " debug" { " dev" } else { target } }} {{ target-triple-flag }} -p hyperlight-host --lib -- sandbox::initialized_multi_use ::tests::from_snapshot::max_guest_log_level_overrides_initialized_snapshot --exact --ignored
268- {{ cargo-cmd }} test {{ if features == " " {' ' } else if features== " no-default-features" {" --no-default-features" } else {" --no-default-features -F " + features } }} --profile={{ if target == " debug" { " dev" } else { target } }} {{ target-triple-flag }} -p hyperlight-host --lib -- sandbox::initialized_multi_use ::tests::from_snapshot::max_guest_log_level_setter_survives_restore --exact --ignored
269- {{ cargo-cmd }} test {{ if features == " " {' ' } else if features== " no-default-features" {" --no-default-features" } else {" --no-default-features -F " + features } }} --profile={{ if target == " debug" { " dev" } else { target } }} {{ target-triple-flag }} -p hyperlight-host --lib -- sandbox::initialized_multi_use ::tests::from_snapshot::max_guest_log_level_can_be_disabled_and_reenabled --exact --ignored
270- {{ cargo-cmd }} test {{ if features == " " {' ' } else if features== " no-default-features" {" --no-default-features" } else {" --no-default-features -F " + features } }} --profile={{ if target == " debug" { " dev" } else { target } }} {{ target-triple-flag }} -p hyperlight-host --lib -- sandbox::initialized_multi_use ::tests::from_snapshot::max_guest_log_level_can_be_enabled_after_off_init --exact --ignored
266+ {{ cargo-cmd }} test {{ if features == " " {' ' } else if features== " no-default-features" {" --no-default-features" } else {" --no-default-features -F " + features } }} --profile={{ if target == " debug" { " dev" } else { target } }} {{ target-triple-flag }} -p hyperlight-host --lib -- sandbox::initialized ::tests::from_snapshot::max_guest_log_level_is_honored_from_snapshot --exact --ignored
267+ {{ cargo-cmd }} test {{ if features == " " {' ' } else if features== " no-default-features" {" --no-default-features" } else {" --no-default-features -F " + features } }} --profile={{ if target == " debug" { " dev" } else { target } }} {{ target-triple-flag }} -p hyperlight-host --lib -- sandbox::initialized ::tests::from_snapshot::max_guest_log_level_overrides_initialized_snapshot --exact --ignored
268+ {{ cargo-cmd }} test {{ if features == " " {' ' } else if features== " no-default-features" {" --no-default-features" } else {" --no-default-features -F " + features } }} --profile={{ if target == " debug" { " dev" } else { target } }} {{ target-triple-flag }} -p hyperlight-host --lib -- sandbox::initialized ::tests::from_snapshot::max_guest_log_level_setter_survives_restore --exact --ignored
269+ {{ cargo-cmd }} test {{ if features == " " {' ' } else if features== " no-default-features" {" --no-default-features" } else {" --no-default-features -F " + features } }} --profile={{ if target == " debug" { " dev" } else { target } }} {{ target-triple-flag }} -p hyperlight-host --lib -- sandbox::initialized ::tests::from_snapshot::max_guest_log_level_can_be_disabled_and_reenabled --exact --ignored
270+ {{ cargo-cmd }} test {{ if features == " " {' ' } else if features== " no-default-features" {" --no-default-features" } else {" --no-default-features -F " + features } }} --profile={{ if target == " debug" { " dev" } else { target } }} {{ target-triple-flag }} -p hyperlight-host --lib -- sandbox::initialized ::tests::from_snapshot::max_guest_log_level_can_be_enabled_after_off_init --exact --ignored
271271 {{ cargo-cmd }} test {{ if features == " " {' ' } else if features== " no-default-features" {" --no-default-features" } else {" --no-default-features -F " + features } }} --profile={{ if target == " debug" { " dev" } else { target } }} {{ target-triple-flag }} -p hyperlight-host --test integration_test -- log_message --exact --ignored
272272 @ # CPU vendor check, gated to known CI runner hardware
273273 {{ cargo-cmd }} test {{ if features == " " {' ' } else if features== " no-default-features" {" --no-default-features" } else {" --no-default-features -F " + features } }} --profile={{ if target == " debug" { " dev" } else { target } }} {{ target-triple-flag }} -p hyperlight-host --lib -- sandbox::snapshot::file::config::tests::cpu_vendor_current_is_recognized --exact --ignored
274274 @ # Slow host-dependent MSR audit. Run once per x86_64 CI profile.
275- {{ if features == " " { if hyperlight-target-arch == " x86_64" { cargo-cmd + " test --profile=" + (if target == " debug" { " dev" } else { target }) + " " + target-triple-flag + " -p hyperlight-host --lib -- sandbox::initialized_multi_use ::tests::msr_tests::test_no_msr_leaks_across_restore_full_window_sweep --exact --ignored --nocapture" } else { " " } } else { " " } }}
275+ {{ if features == " " { if hyperlight-target-arch == " x86_64" { cargo-cmd + " test --profile=" + (if target == " debug" { " dev" } else { target }) + " " + target-triple-flag + " -p hyperlight-host --lib -- sandbox::initialized ::tests::msr_tests::test_no_msr_leaks_across_restore_full_window_sweep --exact --ignored --nocapture" } else { " " } } else { " " } }}
276276 @ # LAPIC-enabled MSHV can expose additional MSRs. Audit it once in debug.
277- {{ if features == " mshv3,hw-interrupts" { if target == " debug" { if hyperlight-target-arch == " x86_64" { cargo-cmd + " test --no-default-features -F mshv3,hw-interrupts --profile=dev " + target-triple-flag + " -p hyperlight-host --lib -- sandbox::initialized_multi_use ::tests::msr_tests::test_no_msr_leaks_across_restore_full_window_sweep --exact --ignored --nocapture" } else { " " } } else { " " } } else { " " } }}
277+ {{ if features == " mshv3,hw-interrupts" { if target == " debug" { if hyperlight-target-arch == " x86_64" { cargo-cmd + " test --no-default-features -F mshv3,hw-interrupts --profile=dev " + target-triple-flag + " -p hyperlight-host --lib -- sandbox::initialized ::tests::msr_tests::test_no_msr_leaks_across_restore_full_window_sweep --exact --ignored --nocapture" } else { " " } } else { " " } } else { " " } }}
278278 @ # metrics tests
279279 {{ cargo-cmd }} test {{ if features == " " {' ' } else if features== " no-default-features" {" --no-default-features" } else {" --no-default-features -F function_call_metrics," + features } }} --profile={{ if target == " debug" { " dev" } else { target } }} {{ target-triple-flag }} -p hyperlight-host --lib -- metrics::tests::test_metrics_are_emitted --exact
280280
@@ -551,11 +551,11 @@ coverage-run hypervisor="kvm": ensure-cargo-llvm-cov
551551 # isolated tests (require running separately due to global state)
552552 cargo +{{nightly-toolchain}} test -p hyperlight-host --lib -- sandbox::uninitialized::tests::test_log_trace --exact --ignored
553553 cargo +{{nightly-toolchain}} test -p hyperlight-host --lib -- sandbox::outb::tests::test_log_emit_guest_log --exact --ignored
554- cargo +{{nightly-toolchain}} test -p hyperlight-host --lib -- sandbox::initialized_multi_use ::tests::from_snapshot::max_guest_log_level_is_honored_from_snapshot --exact --ignored
555- cargo +{{nightly-toolchain}} test -p hyperlight-host --lib -- sandbox::initialized_multi_use ::tests::from_snapshot::max_guest_log_level_overrides_initialized_snapshot --exact --ignored
556- cargo +{{nightly-toolchain}} test -p hyperlight-host --lib -- sandbox::initialized_multi_use ::tests::from_snapshot::max_guest_log_level_setter_survives_restore --exact --ignored
557- cargo +{{nightly-toolchain}} test -p hyperlight-host --lib -- sandbox::initialized_multi_use ::tests::from_snapshot::max_guest_log_level_can_be_disabled_and_reenabled --exact --ignored
558- cargo +{{nightly-toolchain}} test -p hyperlight-host --lib -- sandbox::initialized_multi_use ::tests::from_snapshot::max_guest_log_level_can_be_enabled_after_off_init --exact --ignored
554+ cargo +{{nightly-toolchain}} test -p hyperlight-host --lib -- sandbox::initialized ::tests::from_snapshot::max_guest_log_level_is_honored_from_snapshot --exact --ignored
555+ cargo +{{nightly-toolchain}} test -p hyperlight-host --lib -- sandbox::initialized ::tests::from_snapshot::max_guest_log_level_overrides_initialized_snapshot --exact --ignored
556+ cargo +{{nightly-toolchain}} test -p hyperlight-host --lib -- sandbox::initialized ::tests::from_snapshot::max_guest_log_level_setter_survives_restore --exact --ignored
557+ cargo +{{nightly-toolchain}} test -p hyperlight-host --lib -- sandbox::initialized ::tests::from_snapshot::max_guest_log_level_can_be_disabled_and_reenabled --exact --ignored
558+ cargo +{{nightly-toolchain}} test -p hyperlight-host --lib -- sandbox::initialized ::tests::from_snapshot::max_guest_log_level_can_be_enabled_after_off_init --exact --ignored
559559 cargo +{{nightly-toolchain}} test -p hyperlight-host --test integration_test -- log_message --exact --ignored
560560 cargo +{{nightly-toolchain}} test -p hyperlight-host --no-default-features -F function_call_metrics,{{ if hypervisor == " mshv3" { " mshv3" } else { " kvm" } }} --lib -- metrics::tests::test_metrics_are_emitted --exact
561561
0 commit comments