Crate x86test

Source
Expand description

x86test infrastructure to run rust unit tests in guest-ring 0.

Modules§

runner

Macros§

kassert
kpanic
sprint
sprintln

Structs§

StaticTestFn
X86TestFn

Functions§

outw
Write 16 bits to port

Attribute Macros§

x86test
The x86test macro adds and initializes a X86TestFn struct for every test function. That X86TestFn in turn is annotated with #[test_case] therefore all these structs are aggregated with by the custom test framework runner which is declared in runner.rs.