microsoft/openvmm

Public

mirrored fromhttps://github.com/microsoft/openvmmAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
186f1e2f2226d2560c2d597bc74d672a436d7db8

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

.github/instructions/vmm-tests.instructions.md

20lines · modecode

1---
2applyTo: "vmm_tests/**,petri/**"
3---
4
5# Running VMM Tests
6
7VMM tests are **not** regular unit tests. Do NOT run them with
8`cargo nextest run -p vmm_tests` or `cargo test -p vmm_tests` — they require
9external artifacts (disk images, firmware, OpenHCL binaries) that won't be
10present, causing confusing failures.
11
12Use `cargo xflowey vmm-tests-run` instead. It automatically discovers
13artifacts, builds dependencies, and runs tests in a single command:
14
15```bash
16cargo xflowey vmm-tests-run --filter "test(my_test_name)" --dir /tmp/vmm-tests-run
17```
18
19To learn the full workflow (filter syntax, cross-compilation, logging, common
20pitfalls), load the `vmm-tests` skill.
21