From 778543c7191b222d01e0c33d580754554c96f9ab Mon Sep 17 00:00:00 2001 From: Dorota Czaplejewicz Date: Wed, 31 Jul 2019 11:20:57 +0000 Subject: [PATCH] rust: Add a call to Rust test framework --- src/meson.build | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/meson.build b/src/meson.build index 2d7fa5c3..270f3107 100644 --- a/src/meson.build +++ b/src/meson.build @@ -73,6 +73,15 @@ rslib = static_library( rust_crate_type: 'staticlib' ) +rstests = executable( + 'rstests', + sources: ['lib.rs'], + rust_args: ['--test'], + install: false +) + +test('rstests', rstests) + libsqueekboard = static_library('libsqueekboard', sources, link_with: rslib,