mirror of
https://gitlab.gnome.org/World/Authenticator.git
synced 2025-03-04 00:34:40 +01:00
build: Pass cargo_options to cargo test
This is needed when running the tests out-of-tree.
This commit is contained in:
parent
72c1f5d23f
commit
80348eab3a
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ cargo_home = cargo_target_dir / 'cargo-home'
|
|||
test (
|
||||
'Cargo tests',
|
||||
cargo,
|
||||
args: ['test', '--bin', meson.project_name()],
|
||||
args: ['test', '--bin', meson.project_name(), cargo_options],
|
||||
timeout: 600, # cargo might take a bit of time sometimes
|
||||
env: ['CARGO_TARGET_DIR=@0@'.format(cargo_target_dir), 'CARGO_HOME=@0@'.format(cargo_home)]
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue