mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-01 14:53:54 -06:00
rust: add qemu-api doctests to "meson test"
Doctests are weird. They are essentially integration tests, but they're "ran" by executing rustdoc --test, which takes a compiler-ish command line. This is supported by Meson 1.8.0. Because they run the linker and need all the .o files, run them in the build jobs rather than the test jobs. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
53de966c3e
commit
f620cadc0c
4 changed files with 16 additions and 9 deletions
|
@ -66,6 +66,8 @@ be run via ``meson test`` or ``make``::
|
|||
|
||||
make check-rust
|
||||
|
||||
Note that doctests require all ``.o`` files from the build to be available.
|
||||
|
||||
Supported tools
|
||||
'''''''''''''''
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue