rust: build: add back common and util tests
These were dropped by mistake when extracting the crates. Reviewed-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
fcbe1080a4
commit
b9e8bb6637
2 changed files with 7 additions and 0 deletions
|
|
@ -24,6 +24,9 @@ _common_rs = static_library(
|
|||
|
||||
common_rs = declare_dependency(link_with: [_common_rs])
|
||||
|
||||
rust.test('rust-common-tests', _common_rs,
|
||||
suite: ['unit', 'rust'])
|
||||
|
||||
# Doctests are essentially integration tests, so they need the same dependencies.
|
||||
# Note that running them requires the object files for C code, so place them
|
||||
# in a separate suite that is run by the "build" CI jobs rather than "check".
|
||||
|
|
|
|||
|
|
@ -44,6 +44,10 @@ _util_rs = static_library(
|
|||
|
||||
util_rs = declare_dependency(link_with: [_util_rs], dependencies: [qemuutil, qom])
|
||||
|
||||
rust.test('rust-util-tests', _util_rs,
|
||||
dependencies: [qemuutil, qom],
|
||||
suite: ['unit', 'rust'])
|
||||
|
||||
# Doctests are essentially integration tests, so they need the same dependencies.
|
||||
# Note that running them requires the object files for C code, so place them
|
||||
# in a separate suite that is run by the "build" CI jobs rather than "check".
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue