mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-23 09:23:25 +00:00
Format OSDK documentation
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
7fef686136
commit
a51b3c7076
@ -1,6 +1,8 @@
|
||||
# cargo osdk test
|
||||
|
||||
`cargo osdk test` is used to execute kernel mode unit test by starting QEMU. The usage is as follows:
|
||||
`cargo osdk test` is used to
|
||||
execute kernel mode unit test by starting QEMU.
|
||||
The usage is as follows:
|
||||
|
||||
```bash
|
||||
cargo osdk test [OPTIONS] [TESTNAME]
|
||||
@ -8,14 +10,18 @@ cargo osdk test [OPTIONS] [TESTNAME]
|
||||
|
||||
## Arguments
|
||||
|
||||
[TESTNAME]: Only run tests containing this string in their names
|
||||
[TESTNAME]:
|
||||
Only run tests containing this string in their names
|
||||
|
||||
## Options
|
||||
|
||||
The options are the same as those of `cargo osdk build`. Refer to the [documentation](build.md) of `cargo osdk build` for more details.
|
||||
The options are the same as those of `cargo osdk build`.
|
||||
Refer to the [documentation](build.md) of `cargo osdk build`
|
||||
for more details.
|
||||
|
||||
## Examples
|
||||
- Execute tests containing foo in their names with q35 as the QEMU machine type:
|
||||
- Execute tests containing foo in their names
|
||||
with q35 as the QEMU machine type:
|
||||
|
||||
```bash
|
||||
cargo osdk test foo --qemu.machine="q35"
|
||||
|
Reference in New Issue
Block a user