Skip to content

Commit 5943154

Browse files
committed
build: Add unit tests to Meson
1 parent dcd0d68 commit 5943154

File tree

1 file changed

+14
-0
lines changed
  • xyz-iinuwa-credential-manager-portal-gtk/src

1 file changed

+14
-0
lines changed

xyz-iinuwa-credential-manager-portal-gtk/src/meson.build

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,3 +55,17 @@ cargo_build = custom_target(
5555
'cp', backend_executable_name / 'src' / rust_target / backend_executable_name, '@OUTPUT@',
5656
]
5757
)
58+
59+
test(
60+
'cargo-unit-tests',
61+
cargo,
62+
env: [cargo_env],
63+
args: [
64+
'test',
65+
'--bins',
66+
'--no-fail-fast', cargo_options,
67+
'--',
68+
'--nocapture',
69+
],
70+
protocol: 'rust',
71+
)

0 commit comments

Comments
 (0)