tests: Explicitly pass source directory to tests

This commit is contained in:
Dorota Czaplejewicz
2020-11-28 18:42:02 +00:00
parent 9dcc4c9868
commit 963f52bbc3

View File

@ -80,6 +80,7 @@ test(
'rstest',
cargo_script,
args: ['test'] + cargo_build_flags,
env: ['SOURCE_DIR=' + meson.source_root()],
# this is a whole Carg-based test suite, let it run for a while
timeout: 900,
depends: [build_rstests, cargo_toml],