aboutsummaryrefslogtreecommitdiff
path: root/rust/common/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'rust/common/meson.build')
-rw-r--r--rust/common/meson.build4
1 files changed, 3 insertions, 1 deletions
diff --git a/rust/common/meson.build b/rust/common/meson.build
index b805e0f..aff601d 100644
--- a/rust/common/meson.build
+++ b/rust/common/meson.build
@@ -24,11 +24,13 @@ _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".
rust.doctest('rust-common-doctests',
_common_rs,
- protocol: 'rust',
dependencies: common_rs,
suite: ['doc', 'rust'])