summary refs log tree commit diff stats
path: root/rust/util/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'rust/util/meson.build')
-rw-r--r--rust/util/meson.build5
1 files changed, 4 insertions, 1 deletions
diff --git a/rust/util/meson.build b/rust/util/meson.build
index 87a893673d..7ca69939ce 100644
--- a/rust/util/meson.build
+++ b/rust/util/meson.build
@@ -44,12 +44,15 @@ _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".
 rust.doctest('rust-util-rs-doctests',
      _util_rs,
-     protocol: 'rust',
      dependencies: util_rs,
      suite: ['doc', 'rust']
 )