rust: Add a call to Rust test framework

This commit is contained in:
Dorota Czaplejewicz
2019-07-31 11:20:57 +00:00
parent 18b8972029
commit 778543c719

View File

@ -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,